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.001366/0.001366, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001563/0.001563, allocations: 187.5 kB / 24.46 MB, free: 3.863 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.424/1.424, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.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.001693/0.001693, allocations: 47.92 kB / 371.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2702, allocations: 52.18 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003915/0.2741, allocations: 1.919 MB / 425.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.2752, allocations: 486.8 kB / 426.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.2754, allocations: 4 kB / 426.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.2755, allocations: 27.72 kB / 426.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.2757, allocations: 27.72 kB / 426.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.2759, allocations: 43.88 kB / 426.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.2762, allocations: 151.4 kB / 426.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.2764, allocations: 53.5 kB / 426.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.2766, allocations: 63.86 kB / 426.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.2767, allocations: 55.7 kB / 426.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.2767, allocations: 12 kB / 426.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.438e-05/0.2768, allocations: 16 kB / 426.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.2768, allocations: 39.83 kB / 426.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.043e-05/0.2769, allocations: 55.73 kB / 426.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.2772, allocations: 166.1 kB / 426.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2772, allocations: 0 / 426.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.2772, allocations: 4 kB / 426.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.2772, allocations: 0 / 426.9 MB, free: 11.38 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.0007085/0.2779, allocations: 376.4 kB / 427.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.278, allocations: 12.03 kB / 427.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.278, allocations: 12.84 kB / 427.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.2783, allocations: 142.4 kB / 427.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.2783, allocations: 20.38 kB / 427.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.2784, allocations: 16.33 kB / 427.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.2787, allocations: 141.7 kB / 427.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.2787, allocations: 4 kB / 427.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.2787, allocations: 8 kB / 427.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.2787, allocations: 7.984 kB / 427.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.279, allocations: 92.5 kB / 427.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008469/0.2798, allocations: 419.6 kB / 428.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.28, allocations: 74.48 kB / 428.2 MB, free: 9.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.766e-05/0.2801, allocations: 32.78 kB / 428.2 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.2801, allocations: 4 kB / 428.2 MB, free: 9.941 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.2801, allocations: 38.5 kB / 428.3 MB, free: 9.895 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.2801, allocations: 0 / 428.3 MB, free: 9.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001016/0.2811, allocations: 454.9 kB / 428.7 MB, free: 9.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.2812, allocations: 51.41 kB / 428.8 MB, free: 9.332 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.2813, allocations: 133.7 kB / 428.9 MB, free: 9.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.2813, allocations: 29.7 kB / 428.9 MB, free: 9.156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.2814, allocations: 140.1 kB / 429.1 MB, free: 9.016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.2815, allocations: 43.67 kB / 429.1 MB, free: 8.973 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.2815, allocations: 37.66 kB / 429.1 MB, free: 8.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.2817, allocations: 322.8 kB / 429.5 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-05/0.2818, allocations: 31.98 kB / 429.5 MB, free: 8.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.2819, allocations: 82.84 kB / 429.6 MB, free: 8.469 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.2821, allocations: 127.8 kB / 429.7 MB, free: 8.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2821, allocations: 0 / 429.7 MB, free: 8.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003032/0.2824, allocations: 165.3 kB / 429.9 MB, free: 8.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2825, allocations: 7.938 kB / 429.9 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.2825, allocations: 4 kB / 429.9 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.2825, allocations: 3.984 kB / 429.9 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.2827, allocations: 40.17 kB / 429.9 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2827, allocations: 0 / 429.9 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.931e-05/0.2828, allocations: 11.94 kB / 429.9 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.2828, allocations: 11.94 kB / 429.9 MB, free: 8.074 MB / 334.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.0001193/0.2829, allocations: 121.8 kB / 430.1 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.2829, allocations: 11.95 kB / 430.1 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.07e-05/0.283, allocations: 16.36 kB / 430.1 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.283, allocations: 0 / 430.1 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.283, allocations: 4 kB / 430.1 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.283, allocations: 3.938 kB / 430.1 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005727/0.2835, allocations: 363.8 kB / 430.4 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2835, allocations: 0 / 430.4 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.2837, allocations: 27.92 kB / 430.5 MB, free: 7.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.535e-06/0.2837, allocations: 7.938 kB / 430.5 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.2837, allocations: 4 kB / 430.5 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.2837, allocations: 3.984 kB / 430.5 MB, free: 7.469 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2837, allocations: 4 kB / 430.5 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.2841, allocations: 253.1 kB / 430.7 MB, free: 7.195 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.2841, allocations: 11.92 kB / 430.8 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.2841, allocations: 11.94 kB / 430.8 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.758e-05/0.2842, allocations: 8.031 kB / 430.8 MB, free: 7.164 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.2843, allocations: 11.97 kB / 430.8 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.2843, allocations: 4 kB / 430.8 MB, free: 7.148 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.01e-05/0.2844, allocations: 99.27 kB / 430.9 MB, free: 7.051 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2844, allocations: 0 / 430.9 MB, free: 7.051 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.2846, allocations: 24 kB / 430.9 MB, free: 7.027 MB / 334.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.0001154/0.2848, allocations: 99.31 kB / 431 MB, free: 6.922 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.285, allocations: 95.95 kB / 431.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.285, allocations: 0 / 431.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.749e-05/0.2851, allocations: 35.92 kB / 431.1 MB, free: 6.793 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.2854, allocations: 12 kB / 431.1 MB, free: 6.781 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008683/0.2863, allocations: 461.7 kB / 431.6 MB, free: 6.297 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.2864, allocations: 97.61 kB / 431.7 MB, free: 6.176 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.2864, allocations: 15.44 kB / 431.7 MB, free: 6.16 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2864, allocations: 0 / 431.7 MB, free: 6.16 MB / 334.1 MB Notification: Performance of Templates: time 0.003849/0.2903, allocations: 1.529 MB / 433.2 MB, free: 4.633 MB / 334.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.958006263244897]