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.001825/0.001825, allocations: 95.86 kB / 20.96 MB, free: 3.461 MB / 18.57 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.001911/0.001911, allocations: 149.1 kB / 24.26 MB, free: 164 kB / 18.57 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.524/1.524, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 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 2.004e-06/2.004e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.31e-05/3.511e-05, allocations: 2.312 kB / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003619/0.003655, allocations: 1.971 MB / 269.3 MB, free: 4.762 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.00472, allocations: 0.5025 MB / 269.8 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.288e-05/0.004813, allocations: 4 kB / 269.8 MB, free: 4.25 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.00495, allocations: 19.8 kB / 269.8 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.824e-05/0.005048, allocations: 35.64 kB / 269.8 MB, free: 4.195 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.005275, allocations: 43.89 kB / 269.9 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.005516, allocations: 159.3 kB / 270 MB, free: 3.996 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.005664, allocations: 45.77 kB / 270.1 MB, free: 3.949 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.005839, allocations: 95.78 kB / 270.2 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.005954, allocations: 51.81 kB / 270.2 MB, free: 3.805 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.005984, allocations: 12 kB / 270.2 MB, free: 3.793 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.078e-05/0.006015, allocations: 16 kB / 270.2 MB, free: 3.777 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.046e-05/0.006055, allocations: 31.91 kB / 270.3 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.003e-05/0.006125, allocations: 47.91 kB / 270.3 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.006399, allocations: 167.4 kB / 270.5 MB, free: 3.535 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.006408, allocations: 11.98 kB / 270.5 MB, free: 3.523 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.006409, allocations: 0 / 270.5 MB, free: 3.523 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.006414, allocations: 3.938 kB / 270.5 MB, free: 3.52 MB / 250.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.000701/0.007115, allocations: 471.7 kB / 271 MB, free: 3.023 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.007152, allocations: 8.922 kB / 271 MB, free: 3.016 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.626e-05/0.007228, allocations: 32.84 kB / 271 MB, free: 2.984 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.007474, allocations: 156.3 kB / 271.2 MB, free: 2.805 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.007492, allocations: 8.375 kB / 271.2 MB, free: 2.797 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.139e-05/0.007533, allocations: 24.38 kB / 271.2 MB, free: 2.773 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.00784, allocations: 137.7 kB / 271.3 MB, free: 2.633 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.007857, allocations: 192 / 271.3 MB, free: 2.633 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.007875, allocations: 4.375 kB / 271.3 MB, free: 2.629 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.007888, allocations: 11.92 kB / 271.3 MB, free: 2.617 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.008108, allocations: 87.88 kB / 271.4 MB, free: 2.531 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.009306, allocations: 494.9 kB / 271.9 MB, free: 2.012 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.009498, allocations: 86.97 kB / 272 MB, free: 1.914 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.178e-05/0.00957, allocations: 31.67 kB / 272 MB, free: 1.879 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.009592, allocations: 4 kB / 272 MB, free: 1.875 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.00963, allocations: 37.39 kB / 272.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.009631, allocations: 0 / 272.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.001045/0.01068, allocations: 464.7 kB / 272.5 MB, free: 1.312 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.01073, allocations: 55.39 kB / 272.6 MB, free: 1.246 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.01093, allocations: 205.4 kB / 272.8 MB, free: 1.031 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.01095, allocations: 29.7 kB / 272.8 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.01109, allocations: 186.9 kB / 273 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/0.01114, allocations: 43.62 kB / 273 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.616e-05/0.01122, allocations: 47.31 kB / 273.1 MB, free: 0.707 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002853/0.0115, allocations: 0.504 MB / 273.6 MB, free: 196 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.01158, allocations: 27.98 kB / 273.6 MB, free: 168 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.01173, allocations: 105.5 kB / 273.7 MB, free: 28 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.01199, allocations: 153.6 kB / 273.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.01199, allocations: 0 / 273.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003091/0.0123, allocations: 165.4 kB / 274 MB, free: 15.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.01232, allocations: 4 kB / 274 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.01233, allocations: 4 kB / 274 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.01234, allocations: 192 / 274 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.01251, allocations: 39.97 kB / 274.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.01252, allocations: 7.938 kB / 274.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.676e-05/0.01259, allocations: 8 kB / 274.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.0126, allocations: 4 kB / 274.1 MB, free: 15.61 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.0001539/0.01275, allocations: 176.5 kB / 274.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.01279, allocations: 11.95 kB / 274.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.208e-05/0.01283, allocations: 8.438 kB / 274.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.01284, allocations: 4 kB / 274.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.01284, allocations: 3.984 kB / 274.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.01284, allocations: 4 kB / 274.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006416/0.01349, allocations: 456.4 kB / 274.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.01349, allocations: 3.984 kB / 274.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.01362, allocations: 23.94 kB / 274.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.01362, allocations: 0 / 274.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.01364, allocations: 15.98 kB / 274.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01364, allocations: 0 / 274.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.01365, allocations: 3.938 kB / 274.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004082/0.01406, allocations: 307.2 kB / 275.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.885e-05/0.01408, allocations: 11.95 kB / 275.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.0141, allocations: 4 kB / 275.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.01417, allocations: 48 / 275.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.01422, allocations: 19.91 kB / 275.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.01423, allocations: 4 kB / 275.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001038/0.01433, allocations: 143.2 kB / 275.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01433, allocations: 0 / 275.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002557/0.01459, allocations: 28 kB / 275.3 MB, free: 14.32 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.0001344/0.01472, allocations: 99.27 kB / 275.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002646/0.01499, allocations: 99.53 kB / 275.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01499, allocations: 0 / 275.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.254e-05/0.01508, allocations: 47.61 kB / 275.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.01539, allocations: 16.14 kB / 275.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007813/0.01617, allocations: 382.3 kB / 275.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.01628, allocations: 101.6 kB / 276 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.054e-05/0.01633, allocations: 4.984 kB / 276 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.01637, allocations: 20.44 kB / 276 MB, free: 13.48 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01638, allocations: 4 kB / 276 MB, free: 13.48 MB / 266.7 MB Notification: Performance of Templates: time 0.00409/0.02047, allocations: 0.8478 MB / 276.9 MB, free: 12.64 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins/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: 4.413508658995852]