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.001345/0.001345, allocations: 117.9 kB / 18.4 MB, free: 4.637 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.001348/0.001348, allocations: 189.3 kB / 21.35 MB, free: 1.699 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.428/1.428, allocations: 222.9 MB / 247.1 MB, free: 4.203 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: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 47.92 kB / 358.6 MB, free: 8.332 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1092, allocations: 49.44 MB / 408.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003797/0.113, allocations: 1.971 MB / 410.1 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1141, allocations: 0.5065 MB / 410.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.1143, allocations: 4 kB / 410.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.1144, allocations: 19.73 kB / 410.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.1146, allocations: 35.7 kB / 410.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.1148, allocations: 39.89 kB / 410.7 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.1151, allocations: 155.4 kB / 410.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.1153, allocations: 73.44 kB / 410.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.1154, allocations: 59.78 kB / 410.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.1155, allocations: 71.69 kB / 411 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.1156, allocations: 12 kB / 411 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.996e-05/0.1156, allocations: 16 kB / 411 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.849e-05/0.1157, allocations: 31.92 kB / 411.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.779e-05/0.1157, allocations: 71.61 kB / 411.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.116, allocations: 171.2 kB / 411.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.116, allocations: 0 / 411.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.422e-06/0.1161, allocations: 3.984 kB / 411.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1161, allocations: 0 / 411.3 MB, free: 3.602 MB / 334.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.000705/0.1168, allocations: 442.8 kB / 411.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1168, allocations: 12.03 kB / 411.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.1169, allocations: 16.84 kB / 411.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.1172, allocations: 200.2 kB / 412 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.1172, allocations: 12.31 kB / 412 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.1173, allocations: 24.33 kB / 412 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.1176, allocations: 150 kB / 412.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1176, allocations: 0 / 412.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.1177, allocations: 4 kB / 412.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.1177, allocations: 4 kB / 412.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.1179, allocations: 99.88 kB / 412.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008758/0.1188, allocations: 0.5251 MB / 412.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.119, allocations: 78.48 kB / 412.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.677e-05/0.119, allocations: 36.84 kB / 412.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1191, allocations: 0 / 412.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.1191, allocations: 34.55 kB / 412.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 3.156e-06/0.1191, allocations: 0 / 412.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001112/0.1202, allocations: 0.5987 MB / 413.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.1203, allocations: 59.34 kB / 413.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.1204, allocations: 128.2 kB / 413.7 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.1205, allocations: 30.73 kB / 413.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.074e-05/0.1206, allocations: 136.1 kB / 413.9 MB, free: 0.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.1206, allocations: 43.58 kB / 413.9 MB, free: 0.707 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.1207, allocations: 37.7 kB / 414 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1208, allocations: 314.8 kB / 414.3 MB, free: 356 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.04e-05/0.1209, allocations: 39.97 kB / 414.3 MB, free: 316 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.121, allocations: 83.84 kB / 414.4 MB, free: 208 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.1213, allocations: 138.7 kB / 414.5 MB, free: 44 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1213, allocations: 0 / 414.5 MB, free: 44 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002898/0.1216, allocations: 157.4 kB / 414.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1216, allocations: 8 kB / 414.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1216, allocations: 0 / 414.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1216, allocations: 7.938 kB / 414.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.1218, allocations: 31.98 kB / 414.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.1218, allocations: 15.86 kB / 414.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.94e-05/0.1219, allocations: 8 kB / 414.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.1219, allocations: 4 kB / 414.7 MB, free: 15.81 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 0.0001175/0.122, allocations: 126 kB / 414.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.1221, allocations: 7.953 kB / 414.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.1221, allocations: 12.38 kB / 414.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.1221, allocations: 7.984 kB / 414.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.1221, allocations: 3.938 kB / 414.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1221, allocations: 0 / 414.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005848/0.1227, allocations: 448 kB / 415.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1227, allocations: 0 / 415.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.1229, allocations: 27.92 kB / 415.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1229, allocations: 4 kB / 415.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1229, allocations: 0 / 415.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1229, allocations: 0 / 415.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1229, allocations: 4 kB / 415.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.1233, allocations: 257.3 kB / 415.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.471e-05/0.1234, allocations: 88.98 kB / 415.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1234, allocations: 4 kB / 415.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.939e-05/0.1235, allocations: 4 kB / 415.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.1236, allocations: 7.984 kB / 415.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1236, allocations: 8 kB / 415.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.755e-05/0.1237, allocations: 99.27 kB / 415.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1237, allocations: 4.062 kB / 415.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1239, allocations: 28 kB / 415.9 MB, free: 14.58 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.0001438/0.1241, allocations: 99.77 kB / 416 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.1243, allocations: 95.81 kB / 416.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1244, allocations: 0 / 416.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.1244, allocations: 40.42 kB / 416.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.1248, allocations: 22.89 kB / 416.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007928/0.1256, allocations: 448.6 kB / 416.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.126, allocations: 0.7196 MB / 417.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.126, allocations: 15.44 kB / 417.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.126, allocations: 0 / 417.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of Templates: time 0.003485/0.1295, allocations: 1.473 MB / 418.8 MB, free: 11.61 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] 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: 6.968294320977293]