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.001295/0.001295, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001417/0.001417, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.00156/0.00156, allocations: 47.92 kB / 379 MB, free: 2.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2149, allocations: 53.36 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003231/0.2181, allocations: 1.942 MB / 434.3 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000956/0.2191, allocations: 0.5376 MB / 434.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.524e-05/0.2192, allocations: 7.938 kB / 434.8 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.2193, allocations: 27.78 kB / 434.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.443e-05/0.2194, allocations: 31.7 kB / 434.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.2196, allocations: 51.88 kB / 434.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.2198, allocations: 151.4 kB / 435.1 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.22, allocations: 45.72 kB / 435.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.2201, allocations: 83.7 kB / 435.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.2202, allocations: 63.7 kB / 435.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.2202, allocations: 16 kB / 435.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.816e-05/0.2203, allocations: 16 kB / 435.3 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.366e-05/0.2203, allocations: 31.91 kB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.418e-05/0.2204, allocations: 63.72 kB / 435.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.2206, allocations: 169 kB / 435.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2206, allocations: 0 / 435.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2206, allocations: 0 / 435.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.2206, allocations: 3.938 kB / 435.5 MB, free: 3.508 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.0005934/0.2212, allocations: 377.6 kB / 435.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.2213, allocations: 8.031 kB / 435.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.2214, allocations: 28.83 kB / 436 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.2216, allocations: 154.3 kB / 436.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.2216, allocations: 8.375 kB / 436.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.2217, allocations: 16.38 kB / 436.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.222, allocations: 146.7 kB / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.222, allocations: 7.953 kB / 436.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.222, allocations: 12 kB / 436.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.222, allocations: 4 kB / 436.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.2222, allocations: 91.88 kB / 436.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007002/0.2229, allocations: 403.9 kB / 436.8 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.2231, allocations: 78.48 kB / 436.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.964e-05/0.2232, allocations: 28.84 kB / 436.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.2232, allocations: 4 kB / 436.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.2232, allocations: 34.56 kB / 436.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.2232, allocations: 0 / 436.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009286/0.2241, allocations: 462.8 kB / 437.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.2242, allocations: 51.41 kB / 437.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.2243, allocations: 134.1 kB / 437.6 MB, free: 1.309 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.2243, allocations: 25.7 kB / 437.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.502e-05/0.2244, allocations: 136.2 kB / 437.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.2244, allocations: 51.61 kB / 437.8 MB, free: 1.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.2245, allocations: 29.7 kB / 437.8 MB, free: 1.055 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.2246, allocations: 330.8 kB / 438.1 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.369e-05/0.2247, allocations: 35.94 kB / 438.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.2248, allocations: 83.88 kB / 438.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.225, allocations: 134.7 kB / 438.4 MB, free: 436 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.225, allocations: 0 / 438.4 MB, free: 436 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002745/0.2253, allocations: 157.4 kB / 438.5 MB, free: 272 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2253, allocations: 4 kB / 438.5 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2253, allocations: 8 kB / 438.5 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2253, allocations: 4.188 kB / 438.5 MB, free: 256 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.2255, allocations: 43.92 kB / 438.6 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.2255, allocations: 0 / 438.6 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.314e-05/0.2256, allocations: 7.938 kB / 438.6 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.2256, allocations: 12 kB / 438.6 MB, free: 192 kB / 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.000102/0.2257, allocations: 129.8 kB / 438.7 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.2257, allocations: 7.953 kB / 438.7 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.339e-05/0.2258, allocations: 12.72 kB / 438.7 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2258, allocations: 0 / 438.7 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2258, allocations: 0 / 438.7 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.2258, allocations: 15.89 kB / 438.8 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.2258, allocations: 0 / 438.8 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.584e-05/0.2259, allocations: 7.984 kB / 438.8 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.2259, allocations: 12.03 kB / 438.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003166/0.2263, allocations: 188.7 kB / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003733/0.2266, allocations: 326.8 kB / 439.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.497e-05/0.2267, allocations: 28.02 kB / 439.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.776e-05/0.2268, allocations: 102.7 kB / 439.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of Backend: time 2.61e-07/0.2268, allocations: 4 kB / 439.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004498/0.2272, allocations: 142.2 kB / 439.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008967/0.2281, allocations: 0.8403 MB / 440.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of Templates: time 0.004124/0.2322, allocations: 1.306 MB / 441.7 MB, free: 13.02 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: 4.1728173440060345]