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.001032/0.001032, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001227/0.001227, allocations: 167.1 kB / 25.61 MB, free: 8.598 MB / 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 0.9405/0.9405, allocations: 177.1 MB / 206 MB, free: 4.48 MB / 186.7 MB " [Timeout remaining time 179] 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.232e-06/1.232e-06, allocations: 0 / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.362e-05, allocations: 6.25 kB / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.005906/0.00593, allocations: 2.006 MB / 276.2 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009175/0.006847, allocations: 0.5641 MB / 276.7 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.006964, allocations: 0 / 276.7 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.007096, allocations: 32.34 kB / 276.8 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.204e-05/0.007188, allocations: 28.22 kB / 276.8 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.007445, allocations: 56.73 kB / 276.9 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.007631, allocations: 151.4 kB / 277 MB, free: 1.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.007769, allocations: 50.39 kB / 277 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.007951, allocations: 102.2 kB / 277.1 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.008052, allocations: 47.88 kB / 277.2 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.008078, allocations: 19.98 kB / 277.2 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.17e-05/0.00813, allocations: 23.94 kB / 277.2 MB, free: 1.352 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.008157, allocations: 31.84 kB / 277.3 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.816e-05/0.008215, allocations: 51.91 kB / 277.3 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.0084, allocations: 111.6 kB / 277.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.008404, allocations: 1.844 kB / 277.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.008404, allocations: 0 / 277.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.008409, allocations: 0 / 277.4 MB, free: 1.16 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.0004817/0.008891, allocations: 472.6 kB / 277.9 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.008923, allocations: 8.688 kB / 277.9 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.009051, allocations: 36.84 kB / 277.9 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.009229, allocations: 152.4 kB / 278.1 MB, free: 456 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.009244, allocations: 12.38 kB / 278.1 MB, free: 444 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.009274, allocations: 16.38 kB / 278.1 MB, free: 428 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.009439, allocations: 115.3 kB / 278.2 MB, free: 304 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.009454, allocations: 12.11 kB / 278.2 MB, free: 292 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.009467, allocations: 8.375 kB / 278.2 MB, free: 284 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.009476, allocations: 7.938 kB / 278.3 MB, free: 276 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.526e-05/0.009551, allocations: 39.7 kB / 278.3 MB, free: 236 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005948/0.01015, allocations: 479.3 kB / 278.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.01026, allocations: 58.97 kB / 278.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/0.01029, allocations: 23.67 kB / 278.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.01031, allocations: 0 / 278.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.01033, allocations: 37.39 kB / 278.9 MB, free: 15.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.01033, allocations: 0 / 278.9 MB, free: 15.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005906/0.01092, allocations: 380.8 kB / 279.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.01096, allocations: 59.34 kB / 279.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.01106, allocations: 193.8 kB / 279.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.01108, allocations: 29.7 kB / 279.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/0.01116, allocations: 179 kB / 279.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.01119, allocations: 43.62 kB / 279.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.01124, allocations: 43.34 kB / 279.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.01137, allocations: 0.4922 MB / 280.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.812e-05/0.0114, allocations: 15.98 kB / 280.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.219e-05/0.01147, allocations: 93.41 kB / 280.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.01158, allocations: 113.4 kB / 280.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.01158, allocations: 0 / 280.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001645/0.01174, allocations: 121.4 kB / 280.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.01176, allocations: 10.34 kB / 280.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.01176, allocations: 192 / 280.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.01177, allocations: 8 kB / 280.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.01189, allocations: 39.92 kB / 280.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.0119, allocations: 4 kB / 280.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.919e-05/0.01195, allocations: 4 kB / 280.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.01196, allocations: 11.98 kB / 280.7 MB, free: 13.57 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 8.905e-05/0.01205, allocations: 172.4 kB / 280.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.01207, allocations: 11.89 kB / 280.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.01211, allocations: 16.78 kB / 280.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.01211, allocations: 0 / 280.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.01211, allocations: 4 kB / 280.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01211, allocations: 0 / 280.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/0.01246, allocations: 381.2 kB / 281.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01246, allocations: 0 / 281.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.19e-05/0.01255, allocations: 27.92 kB / 281.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01255, allocations: 0 / 281.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.01256, allocations: 4 kB / 281.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.01256, allocations: 7.984 kB / 281.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01257, allocations: 0 / 281.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.01277, allocations: 271.2 kB / 281.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.01278, allocations: 11.94 kB / 281.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.0128, allocations: 7.922 kB / 281.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.334e-05/0.01286, allocations: 8 kB / 281.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.01289, allocations: 11.86 kB / 281.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.01289, allocations: 4 kB / 281.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.282e-05/0.01296, allocations: 138.1 kB / 281.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01296, allocations: 0 / 281.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002576/0.01321, allocations: 24 kB / 281.8 MB, free: 12.41 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.0001032/0.01332, allocations: 103.3 kB / 281.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.01345, allocations: 71.5 kB / 281.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01345, allocations: 0 / 281.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.961e-05/0.01349, allocations: 31.61 kB / 282 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.01377, allocations: 12 kB / 282 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006704/0.01444, allocations: 378 kB / 282.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.273e-05/0.0145, allocations: 71.33 kB / 282.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.235e-05/0.01454, allocations: 4.984 kB / 282.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/0.0146, allocations: 90.19 kB / 282.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.0146, allocations: 4 kB / 282.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of Templates: time 0.003035/0.01764, allocations: 0.9454 MB / 283.5 MB, free: 10.66 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.821566198952496]