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.0009856/0.0009856, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.00112/0.00112, allocations: 171.9 kB / 24.82 MB, free: 8.91 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.9324/0.9324, allocations: 177.2 MB / 205.3 MB, free: 5.504 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.492e-06/1.492e-06, allocations: 0 / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.563e-05, allocations: 6.25 kB / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002948/0.002963, allocations: 1.985 MB / 275.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009698/0.003933, allocations: 0.5609 MB / 275.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.004044, allocations: 7.938 kB / 275.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.004163, allocations: 19.8 kB / 276 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.253e-05/0.004255, allocations: 35.59 kB / 276 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.004502, allocations: 63.86 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.00469, allocations: 147.4 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.004826, allocations: 53.77 kB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.00502, allocations: 95.8 kB / 276.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.798e-05/0.005118, allocations: 51.86 kB / 276.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.005143, allocations: 12 kB / 276.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.607e-05/0.005199, allocations: 27.92 kB / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.883e-05/0.005228, allocations: 31.86 kB / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.005277, allocations: 47.91 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.005461, allocations: 123.5 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.005464, allocations: 0 / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.005466, allocations: 4 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.005469, allocations: 0 / 276.6 MB, free: 14.04 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.0004826/0.005951, allocations: 464 kB / 277.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.005986, allocations: 12.03 kB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.006113, allocations: 40.83 kB / 277.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.006271, allocations: 148.4 kB / 277.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.006287, allocations: 12.38 kB / 277.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.006318, allocations: 20.31 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.006503, allocations: 119.2 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.006518, allocations: 4.188 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.006531, allocations: 4.375 kB / 277.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.006542, allocations: 7.938 kB / 277.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.762e-05/0.006629, allocations: 43.7 kB / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.007221, allocations: 475 kB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.007404, allocations: 67 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.007436, allocations: 15.69 kB / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.007451, allocations: 4 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.007477, allocations: 41.5 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.803e-06/0.007479, allocations: 0 / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005855/0.008065, allocations: 380.7 kB / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.008095, allocations: 55.41 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.008201, allocations: 189.8 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.008215, allocations: 29.7 kB / 278.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.187e-05/0.008297, allocations: 182.9 kB / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.008326, allocations: 39.67 kB / 278.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.008383, allocations: 43.31 kB / 279 MB, free: 11.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.008518, allocations: 0.4961 MB / 279.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.877e-05/0.008547, allocations: 11.98 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.499e-05/0.008622, allocations: 96.67 kB / 279.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.008736, allocations: 125.5 kB / 279.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.008737, allocations: 4 kB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001715/0.008909, allocations: 121.4 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.008921, allocations: 4.188 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.008927, allocations: 8 kB / 279.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.008939, allocations: 0 / 279.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.009069, allocations: 39.92 kB / 279.9 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.009073, allocations: 4 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.711e-05/0.00913, allocations: 7.938 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.009139, allocations: 4 kB / 279.9 MB, free: 10.45 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.971e-05/0.009229, allocations: 176.4 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.009261, allocations: 11.95 kB / 280.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.009298, allocations: 12.77 kB / 280.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.009301, allocations: 8 kB / 280.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.009303, allocations: 0 / 280.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.009306, allocations: 0 / 280.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003778/0.009684, allocations: 381.1 kB / 280.5 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.009687, allocations: 4.031 kB / 280.5 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.009794, allocations: 23.98 kB / 280.5 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.009798, allocations: 4 kB / 280.5 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.009808, allocations: 3.984 kB / 280.5 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.009809, allocations: 0 / 280.5 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.009812, allocations: 4.062 kB / 280.5 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.01004, allocations: 271 kB / 280.8 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.01005, allocations: 7.953 kB / 280.8 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.01007, allocations: 4 kB / 280.8 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.01014, allocations: 4 kB / 280.8 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.01017, allocations: 11.92 kB / 280.8 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.01018, allocations: 7.984 kB / 280.8 MB, free: 9.457 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.499e-05/0.01024, allocations: 134 kB / 281 MB, free: 9.328 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01024, allocations: 0 / 281 MB, free: 9.328 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002824/0.01053, allocations: 28 kB / 281 MB, free: 9.301 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 8.492e-05/0.01061, allocations: 103.2 kB / 281.1 MB, free: 9.191 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.01074, allocations: 71.52 kB / 281.1 MB, free: 9.117 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01075, allocations: 0 / 281.1 MB, free: 9.117 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.689e-05/0.01079, allocations: 35.61 kB / 281.2 MB, free: 9.078 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.01109, allocations: 11.98 kB / 281.2 MB, free: 9.066 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007568/0.01184, allocations: 390.4 kB / 281.6 MB, free: 8.648 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.085e-05/0.0119, allocations: 67.34 kB / 281.6 MB, free: 8.562 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.017e-05/0.01195, allocations: 8.969 kB / 281.7 MB, free: 8.551 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.146e-05/0.01202, allocations: 82.2 kB / 281.7 MB, free: 8.469 MB / 266.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01202, allocations: 0 / 281.7 MB, free: 8.469 MB / 266.7 MB Notification: Performance of Templates: time 0.003433/0.01545, allocations: 0.9362 MB / 282.7 MB, free: 7.547 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.5333788539282978]