Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 142.1 kB / 24.97 MB, free: 8.316 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9756/0.9756, allocations: 173.3 MB / 201.5 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 3.938 kB / 268 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.367e-05, allocations: 2.312 kB / 268 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002429/0.002452, allocations: 1.998 MB / 270 MB, free: 4.723 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006202/0.003072, allocations: 0.5025 MB / 270.6 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.027e-05/0.003153, allocations: 7.938 kB / 270.6 MB, free: 4.207 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.003261, allocations: 23.78 kB / 270.6 MB, free: 4.184 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.644e-05/0.003327, allocations: 31.66 kB / 270.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.003512, allocations: 39.94 kB / 270.7 MB, free: 4.113 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.00367, allocations: 147.4 kB / 270.8 MB, free: 3.969 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.003808, allocations: 57.56 kB / 270.9 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.00393, allocations: 95.78 kB / 270.9 MB, free: 3.816 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.707e-05/0.004017, allocations: 51.88 kB / 271 MB, free: 3.766 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.004043, allocations: 12 kB / 271 MB, free: 3.754 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.763e-05/0.004061, allocations: 19.94 kB / 271 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.847e-05/0.004089, allocations: 35.84 kB / 271.1 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.566e-05/0.004135, allocations: 47.89 kB / 271.1 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.004288, allocations: 107.6 kB / 271.2 MB, free: 3.547 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.004292, allocations: 4 kB / 271.2 MB, free: 3.543 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.004293, allocations: 0 / 271.2 MB, free: 3.543 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.004298, allocations: 0 / 271.2 MB, free: 3.543 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.0004668/0.004764, allocations: 464.1 kB / 271.7 MB, free: 3.055 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.004806, allocations: 12.91 kB / 271.7 MB, free: 3.043 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/0.004865, allocations: 32.84 kB / 271.7 MB, free: 3.012 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.005026, allocations: 152.3 kB / 271.9 MB, free: 2.836 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.005041, allocations: 8.375 kB / 271.9 MB, free: 2.828 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.00507, allocations: 20.38 kB / 271.9 MB, free: 2.809 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.005253, allocations: 126.3 kB / 272 MB, free: 2.676 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.005266, allocations: 8.172 kB / 272 MB, free: 2.668 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.005281, allocations: 8.375 kB / 272 MB, free: 2.66 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.005292, allocations: 7.938 kB / 272 MB, free: 2.652 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.811e-05/0.00538, allocations: 51.95 kB / 272.1 MB, free: 2.602 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006871/0.006067, allocations: 470.8 kB / 272.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.006177, allocations: 63.05 kB / 272.6 MB, free: 2.031 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/0.006211, allocations: 19.86 kB / 272.6 MB, free: 2.008 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.006224, allocations: 3.938 kB / 272.6 MB, free: 2.004 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.006245, allocations: 37.39 kB / 272.7 MB, free: 1.957 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/0.006247, allocations: 4 kB / 272.7 MB, free: 1.953 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005867/0.006834, allocations: 407.7 kB / 273.1 MB, free: 1.492 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.006861, allocations: 51.41 kB / 273.1 MB, free: 1.43 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.501e-05/0.006956, allocations: 197.3 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.006966, allocations: 29.7 kB / 273.3 MB, free: 1.188 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.007035, allocations: 182.9 kB / 273.5 MB, free: 1 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.007057, allocations: 35.69 kB / 273.6 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.007098, allocations: 47.27 kB / 273.6 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.007203, allocations: 0.4961 MB / 274.1 MB, free: 412 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.049e-05/0.007233, allocations: 11.98 kB / 274.1 MB, free: 400 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.681e-05/0.0073, allocations: 97.48 kB / 274.2 MB, free: 268 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.007402, allocations: 121.4 kB / 274.3 MB, free: 112 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.007403, allocations: 0 / 274.3 MB, free: 112 kB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001606/0.007563, allocations: 134.6 kB / 274.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.007578, allocations: 8 kB / 274.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.007583, allocations: 0 / 274.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.007597, allocations: 4 kB / 274.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.007712, allocations: 35.92 kB / 274.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.00772, allocations: 4 kB / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.765e-05/0.007757, allocations: 8 kB / 274.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.007765, allocations: 4 kB / 274.5 MB, free: 15.91 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 7.39e-05/0.007839, allocations: 172.4 kB / 274.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.007861, allocations: 16.05 kB / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.00789, allocations: 20.38 kB / 274.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.007891, allocations: 0 / 274.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.007894, allocations: 0 / 274.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.007899, allocations: 4 kB / 274.7 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.00823, allocations: 420.4 kB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.008233, allocations: 4 kB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.348e-05/0.008317, allocations: 23.98 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.00832, allocations: 4 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.008329, allocations: 0 / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.008332, allocations: 8 kB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.008334, allocations: 7.938 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.008518, allocations: 259.2 kB / 275.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-06/0.008527, allocations: 7.953 kB / 275.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.008546, allocations: 7.984 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.305e-05/0.008589, allocations: 7.938 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.008623, allocations: 15.86 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.008628, allocations: 4 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.959e-05/0.008678, allocations: 135.2 kB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008678, allocations: 0 / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000175/0.008853, allocations: 32.03 kB / 275.6 MB, free: 14.7 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 9.33e-05/0.008946, allocations: 99.25 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.009084, allocations: 75.66 kB / 275.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009086, allocations: 0 / 275.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.945e-05/0.009125, allocations: 35.59 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.009367, allocations: 16.5 kB / 275.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007096/0.01008, allocations: 377.9 kB / 276.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.029e-05/0.01012, allocations: 71.28 kB / 276.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.723e-05/0.01015, allocations: 12.97 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.01019, allocations: 16.5 kB / 276.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of SimCode: time 1.323e-06/0.01019, allocations: 0 / 276.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of Templates: time 0.002619/0.01281, allocations: 0.855 MB / 277.2 MB, free: 13.09 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7102986541576684]