Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 112.5 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.54/1.54, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 47.94 kB / 374.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1084, allocations: 53.33 MB / 427.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003501/0.1119, allocations: 2.008 MB / 429.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009544/0.1128, allocations: 0.5765 MB / 430.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.095e-05/0.1129, allocations: 0 / 430.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.113, allocations: 27.72 kB / 430.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.1131, allocations: 31.7 kB / 430.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.1135, allocations: 51.88 kB / 430.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.1137, allocations: 151.4 kB / 430.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.1138, allocations: 53.55 kB / 430.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.114, allocations: 75.7 kB / 430.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.1141, allocations: 63.7 kB / 430.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.1141, allocations: 16 kB / 430.5 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.074e-05/0.1142, allocations: 16 kB / 430.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.295e-05/0.1142, allocations: 31.91 kB / 430.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.1144, allocations: 79.59 kB / 430.6 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.1146, allocations: 163.3 kB / 430.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1146, allocations: 0 / 430.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1146, allocations: 0 / 430.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.1146, allocations: 4 kB / 430.8 MB, free: 0.9414 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.0006816/0.1153, allocations: 446.8 kB / 431.2 MB, free: 468 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1154, allocations: 8.031 kB / 431.2 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001875/0.1155, allocations: 28.83 kB / 431.3 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.1158, allocations: 212.1 kB / 431.5 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.1158, allocations: 8.375 kB / 431.5 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.271e-05/0.1159, allocations: 20.38 kB / 431.5 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1813/0.2972, allocations: 145.9 kB / 431.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.435e-05/0.2972, allocations: 4.562 kB / 431.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.2972, allocations: 6.625 kB / 431.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.2973, allocations: 3.375 kB / 431.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.2975, allocations: 86.48 kB / 431.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007877/0.2983, allocations: 0.5206 MB / 432.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.2985, allocations: 76.38 kB / 432.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.2986, allocations: 30.16 kB / 432.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.2986, allocations: 4.406 kB / 432.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.2986, allocations: 31.91 kB / 432.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.2986, allocations: 0.5938 kB / 432.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009061/0.2995, allocations: 0.6044 MB / 433 MB, free: 10.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.2995, allocations: 53.12 kB / 433.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.449e-05/0.2996, allocations: 135.7 kB / 433.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.2996, allocations: 28.55 kB / 433.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.2997, allocations: 143.5 kB / 433.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.2997, allocations: 36.48 kB / 433.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.2998, allocations: 39.48 kB / 433.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.186e-05/0.2998, allocations: 322.2 kB / 433.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.582e-05/0.2999, allocations: 35.53 kB / 433.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.651e-05/0.3, allocations: 82 kB / 433.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.3002, allocations: 132.6 kB / 434 MB, free: 9.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3002, allocations: 3.906 kB / 434 MB, free: 9.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002769/0.3005, allocations: 152 kB / 434.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3005, allocations: 6.656 kB / 434.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3005, allocations: 4.219 kB / 434.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.3005, allocations: 9.062 kB / 434.2 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.3007, allocations: 37.86 kB / 434.2 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3007, allocations: 3.125 kB / 434.2 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.048e-05/0.3008, allocations: 11.72 kB / 434.2 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.3008, allocations: 6.562 kB / 434.2 MB, free: 9.766 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 6.41e-05/0.3008, allocations: 127.6 kB / 434.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.3009, allocations: 11.94 kB / 434.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.3009, allocations: 17.47 kB / 434.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.3009, allocations: 5.547 kB / 434.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3009, allocations: 0 / 434.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3009, allocations: 1.062 kB / 434.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.3013, allocations: 447 kB / 434.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3013, allocations: 2.031 kB / 434.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.3014, allocations: 24.47 kB / 434.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3014, allocations: 3.719 kB / 434.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3015, allocations: 7.438 kB / 434.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3015, allocations: 2.531 kB / 434.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3015, allocations: 5.719 kB / 434.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.3017, allocations: 251.9 kB / 435.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.468e-05/0.3017, allocations: 88.81 kB / 435.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.3018, allocations: 7.625 kB / 435.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.177e-05/0.3018, allocations: 3.094 kB / 435.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.3019, allocations: 12.48 kB / 435.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.3019, allocations: 2.719 kB / 435.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.349e-05/0.3019, allocations: 99.94 kB / 435.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3019, allocations: 0 / 435.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.3022, allocations: 26.38 kB / 435.4 MB, free: 8.988 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 8.834e-05/0.3023, allocations: 109 kB / 435.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002176/0.3025, allocations: 92.12 kB / 435.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3025, allocations: 0.9375 kB / 435.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.3026, allocations: 35.73 kB / 435.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.3029, allocations: 17.36 kB / 435.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006398/0.3036, allocations: 461 kB / 436.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.3037, allocations: 0.7104 MB / 436.8 MB, free: 7.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.3037, allocations: 19 kB / 436.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3037, allocations: 0 / 436.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of Templates: time 0.003521/0.3072, allocations: 1.495 MB / 438.3 MB, free: 7.789 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.286540311994031]