Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 121.4 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 249.1 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 51.92 kB / 365.6 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1021, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.00346/0.1056, allocations: 1.997 MB / 419.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000858/0.1065, allocations: 0.5025 MB / 420.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.61e-05/0.1065, allocations: 7.938 kB / 420.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.1067, allocations: 15.8 kB / 420.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.799e-05/0.1067, allocations: 31.72 kB / 420.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.1069, allocations: 47.88 kB / 420.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.1071, allocations: 155.4 kB / 420.5 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.1073, allocations: 54.17 kB / 420.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.775e-05/0.1074, allocations: 51.86 kB / 420.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.1075, allocations: 75.67 kB / 420.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.1075, allocations: 12 kB / 420.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.408e-05/0.1076, allocations: 16 kB / 420.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.1076, allocations: 31.86 kB / 420.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.344e-05/0.1077, allocations: 75.67 kB / 420.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.1079, allocations: 167.2 kB / 421 MB, free: 9.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1079, allocations: 3.984 kB / 421 MB, free: 9.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1079, allocations: 0 / 421 MB, free: 9.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.1079, allocations: 4 kB / 421 MB, free: 9.379 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006128/0.1085, allocations: 442.8 kB / 421.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1086, allocations: 8.031 kB / 421.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.921e-05/0.1086, allocations: 54.73 kB / 421.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.1087, allocations: 12.84 kB / 421.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.1089, allocations: 200.2 kB / 421.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1089, allocations: 16.38 kB / 421.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.1089, allocations: 16.33 kB / 421.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.1092, allocations: 153.8 kB / 421.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.1092, allocations: 4 kB / 421.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.1092, allocations: 11.94 kB / 421.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1093, allocations: 7.938 kB / 421.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.1094, allocations: 91.94 kB / 422 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007672/0.1102, allocations: 0.525 MB / 422.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.1104, allocations: 70.55 kB / 422.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.003e-05/0.1104, allocations: 32.84 kB / 422.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.1105, allocations: 4 kB / 422.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.1105, allocations: 30.56 kB / 422.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.1105, allocations: 0 / 422.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009587/0.1114, allocations: 0.5949 MB / 423.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.1115, allocations: 59.34 kB / 423.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.1116, allocations: 133.7 kB / 423.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.1116, allocations: 25.7 kB / 423.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.037e-05/0.1117, allocations: 140.1 kB / 423.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.1118, allocations: 43.64 kB / 423.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.1118, allocations: 29.72 kB / 423.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1119, allocations: 327.9 kB / 424 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.493e-05/0.112, allocations: 27.98 kB / 424 MB, free: 6.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.1121, allocations: 92.8 kB / 424.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.1123, allocations: 138.7 kB / 424.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1123, allocations: 4 kB / 424.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002567/0.1126, allocations: 157.4 kB / 424.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1126, allocations: 4 kB / 424.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1126, allocations: 4 kB / 424.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.1126, allocations: 4 kB / 424.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.1128, allocations: 35.92 kB / 424.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.1128, allocations: 7.922 kB / 424.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.128e-05/0.1129, allocations: 8 kB / 424.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.1129, allocations: 8 kB / 424.5 MB, free: 5.531 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.979e-05/0.113, allocations: 130 kB / 424.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.113, allocations: 11.95 kB / 424.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.113, allocations: 8.375 kB / 424.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.113, allocations: 3.938 kB / 424.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.113, allocations: 7.984 kB / 424.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.113, allocations: 3.938 kB / 424.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000534/0.1136, allocations: 444 kB / 425.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1136, allocations: 3.938 kB / 425.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.1137, allocations: 23.98 kB / 425.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1137, allocations: 0 / 425.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.1137, allocations: 8 kB / 425.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1137, allocations: 0 / 425.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1137, allocations: 0 / 425.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.1141, allocations: 253.1 kB / 425.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/0.1141, allocations: 89.08 kB / 425.4 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.1141, allocations: 4 kB / 425.4 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.057e-05/0.1142, allocations: 8.188 kB / 425.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.1142, allocations: 7.984 kB / 425.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.1143, allocations: 7.938 kB / 425.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.295e-05/0.1143, allocations: 102 kB / 425.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1143, allocations: 4 kB / 425.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.1146, allocations: 24 kB / 425.6 MB, free: 4.301 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006571/0.1152, allocations: 0.792 MB / 426.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.1155, allocations: 83.84 kB / 426.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1155, allocations: 0 / 426.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.149e-05/0.1155, allocations: 43.91 kB / 426.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.1158, allocations: 11.38 kB / 426.5 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.118, allocations: 1.859 MB / 428.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.1183, allocations: 0.7119 MB / 429.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.217e-05/0.1184, allocations: 8.891 kB / 429.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.098e-05/0.1184, allocations: 43.42 kB / 429.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1184, allocations: 3.938 kB / 429.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05453/0.173, allocations: 2.396 MB / 431.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.312/8.485, allocations: 23.84 kB / 431.6 MB, free: 14.22 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.9576081847772]