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.001545/0.001545, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001589/0.001589, allocations: 161.7 kB / 24.27 MB, free: 172 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.603/1.603, allocations: 177.2 MB / 204.6 MB, free: 5.586 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 2.174e-06/2.174e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.933e-05/4.151e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.004125/0.004167, allocations: 1.948 MB / 274.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.00539, allocations: 0.5259 MB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.005501, allocations: 4 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.00566, allocations: 27.73 kB / 274.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.005766, allocations: 35.7 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.006081, allocations: 55.8 kB / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.00635, allocations: 159.3 kB / 275.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.006532, allocations: 49.75 kB / 275.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.006777, allocations: 103.7 kB / 275.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.0069, allocations: 43.86 kB / 275.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.97e-05/0.006939, allocations: 16 kB / 275.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.142e-05/0.007011, allocations: 20 kB / 275.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.026e-05/0.007051, allocations: 27.91 kB / 275.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.656e-05/0.007148, allocations: 55.84 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.007459, allocations: 171.4 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.007467, allocations: 3.984 kB / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.007468, allocations: 3.938 kB / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.007474, allocations: 0 / 275.5 MB, free: 14.58 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.0008483/0.008322, allocations: 365.7 kB / 275.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.008368, allocations: 11.97 kB / 275.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.008582, allocations: 40.83 kB / 275.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.008914, allocations: 153.6 kB / 276.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.008937, allocations: 8.375 kB / 276.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.008984, allocations: 16.38 kB / 276.1 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.009341, allocations: 141.9 kB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.009364, allocations: 4.141 kB / 276.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.009389, allocations: 12.38 kB / 276.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.0094, allocations: 7.938 kB / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002281/0.009629, allocations: 87.94 kB / 276.4 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008651/0.01049, allocations: 415.9 kB / 276.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.01069, allocations: 74.48 kB / 276.8 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.183e-05/0.01078, allocations: 28.84 kB / 276.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.0108, allocations: 7.984 kB / 276.9 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.01084, allocations: 30.56 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.01084, allocations: 0 / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.001237/0.01208, allocations: 463.7 kB / 277.4 MB, free: 12.58 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.01214, allocations: 55.41 kB / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.01231, allocations: 138 kB / 277.6 MB, free: 12.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.01233, allocations: 25.7 kB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.01245, allocations: 136.2 kB / 277.7 MB, free: 12.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.0125, allocations: 39.64 kB / 277.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-05/0.01257, allocations: 33.72 kB / 277.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.01277, allocations: 326.8 kB / 278.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.77e-05/0.01286, allocations: 31.98 kB / 278.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.01301, allocations: 90.8 kB / 278.2 MB, free: 11.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004452/0.01345, allocations: 126.9 kB / 278.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.01346, allocations: 0 / 278.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003217/0.01378, allocations: 169.4 kB / 278.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.01379, allocations: 10.75 kB / 278.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.01381, allocations: 4 kB / 278.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.01383, allocations: 0 / 278.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.014, allocations: 31.98 kB / 278.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.01402, allocations: 4 kB / 278.6 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.645e-05/0.01409, allocations: 8 kB / 278.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.01411, allocations: 12.17 kB / 278.6 MB, free: 11.26 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.0001373/0.01425, allocations: 137.7 kB / 278.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.01428, allocations: 11.95 kB / 278.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.058e-05/0.01434, allocations: 16.78 kB / 278.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.01434, allocations: 0 / 278.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.01434, allocations: 4 kB / 278.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01435, allocations: 0 / 278.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006148/0.01496, allocations: 375.7 kB / 279.1 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01496, allocations: 4.062 kB / 279.1 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.01511, allocations: 31.86 kB / 279.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.01512, allocations: 0 / 279.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.01513, allocations: 8 kB / 279.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01513, allocations: 0 / 279.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.01514, allocations: 3.938 kB / 279.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004149/0.01555, allocations: 249.1 kB / 279.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.01557, allocations: 11.97 kB / 279.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.0156, allocations: 4 kB / 279.4 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.828e-05/0.01569, allocations: 8.062 kB / 279.4 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/0.01575, allocations: 11.92 kB / 279.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.01576, allocations: 4 kB / 279.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.653e-05/0.01585, allocations: 103.1 kB / 279.5 MB, free: 10.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01585, allocations: 0 / 279.5 MB, free: 10.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00029/0.01614, allocations: 28 kB / 279.6 MB, free: 10.2 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.0001525/0.01629, allocations: 91.25 kB / 279.7 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002816/0.01657, allocations: 100.1 kB / 279.8 MB, free: 10 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01658, allocations: 0 / 279.8 MB, free: 10 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.088e-05/0.01667, allocations: 35.92 kB / 279.8 MB, free: 9.965 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.01702, allocations: 16.2 kB / 279.8 MB, free: 9.949 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009292/0.01795, allocations: 374.3 kB / 280.2 MB, free: 9.555 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.01808, allocations: 101.6 kB / 280.3 MB, free: 9.438 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.725e-05/0.01815, allocations: 16.95 kB / 280.3 MB, free: 9.414 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.01819, allocations: 12.5 kB / 280.3 MB, free: 9.402 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01819, allocations: 0 / 280.3 MB, free: 9.402 MB / 266.7 MB Notification: Performance of Templates: time 0.004347/0.02254, allocations: 0.853 MB / 281.2 MB, free: 8.562 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=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/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.45080562797375]