Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001563, allocations: 172.8 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007013/0.0007014, allocations: 93.42 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003233, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2402, allocations: 47.58 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.001963/0.2422, allocations: 1.62 MB / 376.7 MB, free: 44.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007264/0.243, allocations: 0.5073 MB / 377.2 MB, free: 43.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.714e-05/0.2431, allocations: 3.438 kB / 377.2 MB, free: 43.74 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.2432, allocations: 25.91 kB / 377.3 MB, free: 43.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.338e-05/0.2433, allocations: 28.3 kB / 377.3 MB, free: 43.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.2435, allocations: 22.33 kB / 377.3 MB, free: 43.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.2436, allocations: 134.8 kB / 377.4 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.2438, allocations: 65.08 kB / 377.5 MB, free: 43.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.2439, allocations: 43.11 kB / 377.5 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.2441, allocations: 65.06 kB / 377.6 MB, free: 43.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.2441, allocations: 11.41 kB / 377.6 MB, free: 43.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.628e-05/0.2441, allocations: 8.75 kB / 377.6 MB, free: 43.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.2442, allocations: 23.95 kB / 377.6 MB, free: 43.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.839e-05/0.2442, allocations: 81.72 kB / 377.7 MB, free: 43.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.2444, allocations: 119.8 kB / 377.8 MB, free: 43.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.2444, allocations: 0 / 377.8 MB, free: 43.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2444, allocations: 1.031 kB / 377.8 MB, free: 43.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.2444, allocations: 4 kB / 377.8 MB, free: 43.31 MB / 298.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.0004895/0.2449, allocations: 416.4 kB / 378.3 MB, free: 42.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.245, allocations: 13.45 kB / 378.3 MB, free: 42.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.245, allocations: 20.16 kB / 378.3 MB, free: 42.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.2452, allocations: 202 kB / 378.5 MB, free: 42.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.2452, allocations: 11.09 kB / 378.5 MB, free: 42.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.2453, allocations: 18.47 kB / 378.5 MB, free: 42.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.2456, allocations: 150.6 kB / 378.7 MB, free: 42.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.2456, allocations: 8.891 kB / 378.7 MB, free: 42.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.2456, allocations: 6.031 kB / 378.7 MB, free: 42.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.2456, allocations: 3.094 kB / 378.7 MB, free: 42.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.2458, allocations: 92.25 kB / 378.8 MB, free: 42.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007392/0.2466, allocations: 0.5315 MB / 379.3 MB, free: 42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.2468, allocations: 83.77 kB / 379.4 MB, free: 41.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.341e-05/0.2468, allocations: 32.28 kB / 379.4 MB, free: 41.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.2469, allocations: 1.094 kB / 379.4 MB, free: 41.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.2469, allocations: 31.62 kB / 379.4 MB, free: 41.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.2469, allocations: 0 / 379.4 MB, free: 41.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009318/0.2478, allocations: 0.6015 MB / 380 MB, free: 41.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.2479, allocations: 65.83 kB / 380.1 MB, free: 41.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.274e-05/0.248, allocations: 127.2 kB / 380.2 MB, free: 41.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.248, allocations: 31.11 kB / 380.3 MB, free: 41.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.2481, allocations: 135.8 kB / 380.4 MB, free: 40.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.2481, allocations: 40.31 kB / 380.4 MB, free: 40.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/0.2481, allocations: 5.219 kB / 380.4 MB, free: 40.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.198e-05/0.2482, allocations: 321.7 kB / 380.8 MB, free: 40.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.416e-05/0.2482, allocations: 30.27 kB / 380.8 MB, free: 40.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.2483, allocations: 90.42 kB / 380.9 MB, free: 40.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.2485, allocations: 133.5 kB / 381 MB, free: 40.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2485, allocations: 0.875 kB / 381 MB, free: 40.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00025/0.2488, allocations: 164.5 kB / 381.2 MB, free: 40.31 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2488, allocations: 10.16 kB / 381.2 MB, free: 40.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2488, allocations: 1.344 kB / 381.2 MB, free: 40.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.2489, allocations: 5.25 kB / 381.2 MB, free: 40.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.249, allocations: 34.45 kB / 381.2 MB, free: 40.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.249, allocations: 6.812 kB / 381.2 MB, free: 40.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.823e-05/0.2491, allocations: 4.875 kB / 381.2 MB, free: 40.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.2491, allocations: 14.84 kB / 381.2 MB, free: 40.29 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.331e-05/0.2492, allocations: 132.8 kB / 381.4 MB, free: 40.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.2492, allocations: 8 kB / 381.4 MB, free: 40.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.2493, allocations: 18.5 kB / 381.4 MB, free: 40.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2493, allocations: 1.156 kB / 381.4 MB, free: 40.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2493, allocations: 3.938 kB / 381.4 MB, free: 40.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.2493, allocations: 4.875 kB / 381.4 MB, free: 40.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.2497, allocations: 456 kB / 381.9 MB, free: 39.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2498, allocations: 1.125 kB / 381.9 MB, free: 39.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.2499, allocations: 24.2 kB / 381.9 MB, free: 39.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2499, allocations: 2.25 kB / 381.9 MB, free: 39.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.2499, allocations: 1.344 kB / 381.9 MB, free: 39.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2499, allocations: 5.062 kB / 381.9 MB, free: 39.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.2499, allocations: 5.031 kB / 381.9 MB, free: 39.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.2502, allocations: 250.4 kB / 382.1 MB, free: 39.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/0.2503, allocations: 87.33 kB / 382.2 MB, free: 39.4 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.2503, allocations: 6.281 kB / 382.2 MB, free: 39.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-05/0.2504, allocations: 7.578 kB / 382.2 MB, free: 39.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.2504, allocations: 11.84 kB / 382.2 MB, free: 39.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.2504, allocations: 2.781 kB / 382.2 MB, free: 39.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.605e-05/0.2505, allocations: 102.6 kB / 382.3 MB, free: 39.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2505, allocations: 3.938 kB / 382.3 MB, free: 39.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002453/0.2507, allocations: 26.34 kB / 382.4 MB, free: 39.29 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.358e-05/0.2508, allocations: 100.5 kB / 382.5 MB, free: 39.19 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.251, allocations: 88.81 kB / 382.6 MB, free: 39.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2511, allocations: 0 / 382.6 MB, free: 39.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.288e-05/0.2511, allocations: 41.83 kB / 382.6 MB, free: 39.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.2515, allocations: 21.8 kB / 382.6 MB, free: 39.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006401/0.2521, allocations: 0.5345 MB / 383.2 MB, free: 38.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/0.2523, allocations: 0.7115 MB / 383.9 MB, free: 37.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.2523, allocations: 19 kB / 383.9 MB, free: 37.95 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2523, allocations: 0 / 383.9 MB, free: 37.95 MB / 298.7 MB Notification: Performance of Templates: time 0.002762/0.2551, allocations: 1.433 MB / 385.3 MB, free: 37.21 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches