Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001824/0.001824, allocations: 111.2 kB / 18.4 MB, free: 4.652 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.00187/0.00187, allocations: 194.8 kB / 21.34 MB, free: 1.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.1 MB / 229.2 MB, free: 4.367 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 51.42 kB / 335.2 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1038, allocations: 46.62 MB / 381.8 MB, free: 460 kB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003751/0.1076, allocations: 1.966 MB / 383.8 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1087, allocations: 0.5461 MB / 384.3 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.1088, allocations: 7.938 kB / 384.4 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.109, allocations: 23.78 kB / 384.4 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.1091, allocations: 23.72 kB / 384.4 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.1093, allocations: 47.88 kB / 384.4 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.1095, allocations: 151.4 kB / 384.6 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.1097, allocations: 85.22 kB / 384.7 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.1099, allocations: 55.86 kB / 384.7 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.11, allocations: 67.7 kB / 384.8 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.11, allocations: 12 kB / 384.8 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.975e-05/0.1101, allocations: 16 kB / 384.8 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.1102, allocations: 39.83 kB / 384.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.912e-05/0.1103, allocations: 67.67 kB / 384.9 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.1106, allocations: 163.3 kB / 385.1 MB, free: 13.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1106, allocations: 4 kB / 385.1 MB, free: 13.17 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1106, allocations: 0 / 385.1 MB, free: 13.17 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.1106, allocations: 0 / 385.1 MB, free: 13.17 MB / 318.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.0006597/0.1113, allocations: 442.9 kB / 385.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1114, allocations: 8.031 kB / 385.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.1114, allocations: 16.84 kB / 385.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.1117, allocations: 212.1 kB / 385.8 MB, free: 12.42 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1117, allocations: 12.38 kB / 385.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.1117, allocations: 16.38 kB / 385.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.1121, allocations: 141.7 kB / 385.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.1121, allocations: 7.938 kB / 385.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.1121, allocations: 8 kB / 385.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1121, allocations: 4 kB / 385.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.1123, allocations: 91.89 kB / 386 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007993/0.1131, allocations: 0.5252 MB / 386.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.1133, allocations: 78.55 kB / 386.6 MB, free: 11.47 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.994e-05/0.1134, allocations: 28.84 kB / 386.7 MB, free: 11.44 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.1134, allocations: 0 / 386.7 MB, free: 11.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.1135, allocations: 38.56 kB / 386.7 MB, free: 11.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.1135, allocations: 0 / 386.7 MB, free: 11.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001017/0.1145, allocations: 0.603 MB / 387.3 MB, free: 10.7 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.1145, allocations: 55.34 kB / 387.4 MB, free: 10.63 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.1147, allocations: 137.8 kB / 387.5 MB, free: 10.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1147, allocations: 25.7 kB / 387.5 MB, free: 10.45 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.257e-05/0.1148, allocations: 140.1 kB / 387.7 MB, free: 10.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.1148, allocations: 47.62 kB / 387.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.1149, allocations: 29.72 kB / 387.7 MB, free: 10.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.115, allocations: 318.8 kB / 388 MB, free: 9.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.2e-05/0.1151, allocations: 35.98 kB / 388.1 MB, free: 9.875 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.1152, allocations: 98.72 kB / 388.2 MB, free: 9.754 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.1155, allocations: 130.7 kB / 388.3 MB, free: 9.602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1155, allocations: 0 / 388.3 MB, free: 9.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000274/0.1157, allocations: 157.4 kB / 388.5 MB, free: 9.441 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1158, allocations: 8.188 kB / 388.5 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1158, allocations: 4 kB / 388.5 MB, free: 9.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1158, allocations: 8.031 kB / 388.5 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.116, allocations: 32.55 kB / 388.5 MB, free: 9.391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.116, allocations: 11.88 kB / 388.5 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.27e-05/0.1161, allocations: 11.98 kB / 388.5 MB, free: 9.367 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.1161, allocations: 4 kB / 388.5 MB, free: 9.363 MB / 318.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 0.0001069/0.1162, allocations: 125.8 kB / 388.7 MB, free: 9.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.1162, allocations: 7.953 kB / 388.7 MB, free: 9.223 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.1163, allocations: 16.31 kB / 388.7 MB, free: 9.207 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1163, allocations: 4 kB / 388.7 MB, free: 9.203 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1163, allocations: 3.938 kB / 388.7 MB, free: 9.199 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1163, allocations: 3.984 kB / 388.7 MB, free: 9.195 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005441/0.1168, allocations: 436 kB / 389.1 MB, free: 8.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.1169, allocations: 0 / 389.1 MB, free: 8.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.117, allocations: 31.92 kB / 389.1 MB, free: 8.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.117, allocations: 8.062 kB / 389.2 MB, free: 8.668 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.117, allocations: 3.984 kB / 389.2 MB, free: 8.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.117, allocations: 0 / 389.2 MB, free: 8.664 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.117, allocations: 4 kB / 389.2 MB, free: 8.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.1174, allocations: 253 kB / 389.4 MB, free: 8.391 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.1174, allocations: 81.06 kB / 389.5 MB, free: 8.293 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1175, allocations: 11.98 kB / 389.5 MB, free: 8.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.808e-05/0.1176, allocations: 0 / 389.5 MB, free: 8.281 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.1176, allocations: 7.984 kB / 389.5 MB, free: 8.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.1176, allocations: 4 kB / 389.5 MB, free: 8.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.744e-05/0.1177, allocations: 103.2 kB / 389.6 MB, free: 8.168 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1177, allocations: 0 / 389.6 MB, free: 8.168 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.118, allocations: 28 kB / 389.6 MB, free: 8.141 MB / 318.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.0001045/0.1181, allocations: 99.3 kB / 389.7 MB, free: 8.035 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.1183, allocations: 95.83 kB / 389.8 MB, free: 7.941 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1183, allocations: 0 / 389.8 MB, free: 7.941 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.331e-05/0.1184, allocations: 39.92 kB / 389.9 MB, free: 7.902 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.1187, allocations: 15.84 kB / 389.9 MB, free: 7.887 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007031/0.1194, allocations: 431.9 kB / 390.3 MB, free: 7.434 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.1198, allocations: 0.7196 MB / 391 MB, free: 6.688 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.426e-05/0.1199, allocations: 8.875 kB / 391 MB, free: 6.672 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.1199, allocations: 15.38 kB / 391 MB, free: 6.656 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1199, allocations: 0 / 391 MB, free: 6.656 MB / 318.1 MB Notification: Performance of Templates: time 0.003567/0.1235, allocations: 0.871 MB / 391.9 MB, free: 5.785 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.589052486233413]