Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 230.2 MB / 255.1 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00265/0.00265, allocations: 59.91 kB / 374.5 MB, free: 9.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1285, allocations: 53.32 MB / 427.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003816/0.1323, allocations: 2.015 MB / 429.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.1335, allocations: 0.5726 MB / 430.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.1336, allocations: 0 / 430.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.1337, allocations: 27.72 kB / 430.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.1338, allocations: 35.7 kB / 430.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.1341, allocations: 55.86 kB / 430.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.1343, allocations: 147.4 kB / 430.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.1345, allocations: 53.53 kB / 430.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.1347, allocations: 71.72 kB / 430.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.1348, allocations: 67.69 kB / 430.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.1349, allocations: 16 kB / 430.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.631e-05/0.1349, allocations: 20 kB / 430.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.622e-05/0.135, allocations: 31.91 kB / 430.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.92e-05/0.135, allocations: 71.61 kB / 431 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.1353, allocations: 171.3 kB / 431.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1353, allocations: 4 kB / 431.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1353, allocations: 0 / 431.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.1353, allocations: 3.938 kB / 431.2 MB, free: 1.148 MB / 350.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.0007048/0.136, allocations: 446.8 kB / 431.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1361, allocations: 8.031 kB / 431.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.1363, allocations: 24.83 kB / 431.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.1366, allocations: 208.1 kB / 431.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.1366, allocations: 12.38 kB / 431.8 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.1366, allocations: 20.31 kB / 431.9 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.137, allocations: 145.7 kB / 432 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.137, allocations: 7.953 kB / 432 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.137, allocations: 4 kB / 432 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.137, allocations: 4 kB / 432 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.1372, allocations: 87.94 kB / 432.1 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008882/0.1381, allocations: 0.5331 MB / 432.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.1383, allocations: 66.56 kB / 432.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.98e-05/0.1384, allocations: 40.91 kB / 432.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.1384, allocations: 0 / 432.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.1384, allocations: 38.55 kB / 432.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 8.92e-07/0.1385, allocations: 0 / 432.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001141/0.1396, allocations: 0.5836 MB / 433.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.1396, allocations: 63.72 kB / 433.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.1398, allocations: 132.1 kB / 433.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.1398, allocations: 29.7 kB / 433.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.886e-05/0.1399, allocations: 140.1 kB / 433.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.1399, allocations: 47.52 kB / 433.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.448e-05/0.14, allocations: 37.7 kB / 433.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1402, allocations: 318.8 kB / 434.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.913e-05/0.1402, allocations: 31.97 kB / 434.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.1404, allocations: 85.78 kB / 434.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.1406, allocations: 130.7 kB / 434.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1406, allocations: 3.938 kB / 434.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003091/0.1409, allocations: 157.5 kB / 434.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.1409, allocations: 14.38 kB / 434.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1409, allocations: 0 / 434.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.1409, allocations: 4 kB / 434.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.1411, allocations: 39.91 kB / 434.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.1411, allocations: 7.938 kB / 434.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.352e-05/0.1412, allocations: 8 kB / 434.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.1412, allocations: 4 kB / 434.6 MB, free: 13.35 MB / 366.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.0001151/0.1413, allocations: 125.8 kB / 434.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.1414, allocations: 11.95 kB / 434.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.627e-05/0.1414, allocations: 20.7 kB / 434.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1414, allocations: 0 / 434.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1414, allocations: 3.938 kB / 434.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1414, allocations: 0 / 434.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006058/0.142, allocations: 452 kB / 435.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.142, allocations: 0 / 435.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.1422, allocations: 28.05 kB / 435.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1422, allocations: 0 / 435.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.1422, allocations: 8 kB / 435.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1422, allocations: 4 kB / 435.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1422, allocations: 0 / 435.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.1426, allocations: 257 kB / 435.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.1426, allocations: 89.05 kB / 435.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1426, allocations: 0 / 435.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.892e-05/0.1427, allocations: 8 kB / 435.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.1428, allocations: 7.984 kB / 435.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1428, allocations: 4 kB / 435.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.291e-05/0.1429, allocations: 100.7 kB / 435.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1429, allocations: 0 / 435.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.1431, allocations: 24 kB / 435.7 MB, free: 12.12 MB / 366.1 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.0001309/0.1433, allocations: 103.2 kB / 435.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000256/0.1435, allocations: 95.86 kB / 435.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1435, allocations: 0 / 435.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.632e-05/0.1436, allocations: 35.92 kB / 435.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.1439, allocations: 20.42 kB / 436 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008546/0.1448, allocations: 452.7 kB / 436.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.1451, allocations: 0.7158 MB / 437.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.1452, allocations: 19.42 kB / 437.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1452, allocations: 0 / 437.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of Templates: time 0.003525/0.1487, allocations: 1.488 MB / 438.6 MB, free: 9.129 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 6.789617747068405]