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.001928/0.001928, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002035/0.002035, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 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.546/1.546, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 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 1.543e-06/1.543e-06, allocations: 0 / 272.3 MB, free: 1.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.213e-05/3.367e-05, allocations: 6.312 kB / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.004736/0.00477, allocations: 1.997 MB / 274.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.005902, allocations: 0.5532 MB / 274.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.018e-05/0.005992, allocations: 0 / 274.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.006123, allocations: 23.73 kB / 274.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.214e-05/0.006215, allocations: 31.7 kB / 274.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.006491, allocations: 59.8 kB / 275 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.006721, allocations: 163.3 kB / 275.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.00689, allocations: 49.77 kB / 275.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.007117, allocations: 103.7 kB / 275.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.007235, allocations: 47.88 kB / 275.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.007269, allocations: 16 kB / 275.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.736e-05/0.007336, allocations: 16 kB / 275.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.28e-05/0.007379, allocations: 31.89 kB / 275.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.517e-05/0.007454, allocations: 55.84 kB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.007739, allocations: 171.4 kB / 275.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.007743, allocations: 4 kB / 275.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.007744, allocations: 7.938 kB / 275.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.007749, allocations: 0 / 275.6 MB, free: 14.53 MB / 266.7 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.0007183/0.008467, allocations: 471.7 kB / 276.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.008504, allocations: 12.03 kB / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.008678, allocations: 40.83 kB / 276.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.008904, allocations: 148.4 kB / 276.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.008924, allocations: 12.38 kB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.00896, allocations: 20.38 kB / 276.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.009245, allocations: 133.9 kB / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.009264, allocations: 4.141 kB / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.009284, allocations: 8.375 kB / 276.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.009293, allocations: 7.938 kB / 276.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.009498, allocations: 79.95 kB / 276.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008627/0.01036, allocations: 0.4913 MB / 277 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.01055, allocations: 86.97 kB / 277.1 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.249e-05/0.01062, allocations: 31.67 kB / 277.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.01064, allocations: 0 / 277.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.01067, allocations: 41.39 kB / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 8.92e-07/0.01068, allocations: 0 / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.001013/0.01169, allocations: 460.7 kB / 277.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.01174, allocations: 55.34 kB / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.01193, allocations: 209.8 kB / 277.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.01195, allocations: 29.7 kB / 277.9 MB, free: 12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.01208, allocations: 183 kB / 278.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.01213, allocations: 39.64 kB / 278.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.327e-05/0.01221, allocations: 47.36 kB / 278.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002858/0.0125, allocations: 0.5 MB / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/0.01257, allocations: 27.98 kB / 278.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.01273, allocations: 113.4 kB / 278.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.01297, allocations: 153.6 kB / 279 MB, free: 10.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.01298, allocations: 4 kB / 279 MB, free: 10.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003029/0.01328, allocations: 153.4 kB / 279.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.01329, allocations: 4 kB / 279.1 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.0133, allocations: 4 kB / 279.1 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.01332, allocations: 4.219 kB / 279.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.01348, allocations: 51.91 kB / 279.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.01349, allocations: 0 / 279.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.491e-05/0.01356, allocations: 4 kB / 279.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.01357, allocations: 8 kB / 279.2 MB, free: 10.62 MB / 266.7 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.0001552/0.01373, allocations: 180.4 kB / 279.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.01376, allocations: 11.95 kB / 279.4 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.996e-05/0.01381, allocations: 16.78 kB / 279.4 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.01382, allocations: 3.984 kB / 279.4 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01382, allocations: 0 / 279.4 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.01383, allocations: 8 kB / 279.4 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006471/0.01448, allocations: 452.5 kB / 279.9 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01448, allocations: 3.938 kB / 279.9 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.01462, allocations: 27.92 kB / 279.9 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.01462, allocations: 4 kB / 279.9 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.01463, allocations: 0 / 279.9 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01463, allocations: 0 / 279.9 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.01464, allocations: 7.938 kB / 279.9 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.01506, allocations: 307.2 kB / 280.2 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.01507, allocations: 3.953 kB / 280.2 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.01509, allocations: 4 kB / 280.2 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.673e-05/0.01517, allocations: 7.938 kB / 280.2 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.01522, allocations: 11.92 kB / 280.2 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.01523, allocations: 4 kB / 280.2 MB, free: 9.496 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001048/0.01533, allocations: 147.2 kB / 280.4 MB, free: 9.352 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01533, allocations: 0 / 280.4 MB, free: 9.352 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002607/0.01559, allocations: 24 kB / 280.4 MB, free: 9.328 MB / 266.7 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.0001347/0.01573, allocations: 111.2 kB / 280.5 MB, free: 9.211 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002558/0.01598, allocations: 103 kB / 280.6 MB, free: 9.109 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01598, allocations: 0 / 280.6 MB, free: 9.109 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.01609, allocations: 55.53 kB / 280.7 MB, free: 9.051 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.01638, allocations: 12 kB / 280.7 MB, free: 9.039 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.01748, allocations: 386.3 kB / 281.1 MB, free: 8.625 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.01761, allocations: 105.5 kB / 281.2 MB, free: 8.504 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.976e-05/0.01767, allocations: 8.969 kB / 281.2 MB, free: 8.488 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.01771, allocations: 16.5 kB / 281.2 MB, free: 8.473 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01771, allocations: 4 kB / 281.2 MB, free: 8.469 MB / 266.7 MB Notification: Performance of Templates: time 0.004216/0.02193, allocations: 0.8526 MB / 282 MB, free: 7.629 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins/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: 4.349917187006213]