Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001592/0.001592, allocations: 115 kB / 18.46 MB, free: 4.621 MB / 14.72 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.001855/0.001855, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 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 1.549/1.549, allocations: 230.6 MB / 254.8 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 55.92 kB / 374.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1354, allocations: 53.33 MB / 427.5 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.004338/0.1398, allocations: 1.708 MB / 429.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005827/0.1403, allocations: 167.4 kB / 429.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.1405, allocations: 0 / 429.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.824e-05/0.1405, allocations: 7.875 kB / 429.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.1407, allocations: 15.92 kB / 429.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.141, allocations: 43.83 kB / 429.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.1412, allocations: 55.84 kB / 429.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.1414, allocations: 19.98 kB / 429.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.895e-05/0.1414, allocations: 23.88 kB / 429.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.1415, allocations: 27.86 kB / 429.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.1415, allocations: 4 kB / 429.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.5e-05/0.1416, allocations: 4 kB / 429.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.556e-05/0.1416, allocations: 19.91 kB / 429.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.137e-05/0.1417, allocations: 35.8 kB / 429.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.1419, allocations: 71.59 kB / 429.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1419, allocations: 0 / 429.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1419, allocations: 4 kB / 429.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.1419, allocations: 3.938 kB / 429.7 MB, free: 2.176 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006788/0.1426, allocations: 391 kB / 430.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.1426, allocations: 12.02 kB / 430.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.1426, allocations: 12.89 kB / 430.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.143, allocations: 188.2 kB / 430.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.143, allocations: 8.359 kB / 430.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.143, allocations: 16.31 kB / 430.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004449/0.1435, allocations: 158.3 kB / 430.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1435, allocations: 4.188 kB / 430.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.1435, allocations: 3.938 kB / 430.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.1435, allocations: 4 kB / 430.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.1436, allocations: 39.91 kB / 430.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005425/0.1442, allocations: 361.9 kB / 430.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.1445, allocations: 119.8 kB / 431 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.1446, allocations: 62.61 kB / 431.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.1446, allocations: 0 / 431.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.1447, allocations: 42.56 kB / 431.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.1447, allocations: 0 / 431.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003838/0.1451, allocations: 117.8 kB / 431.2 MB, free: 460 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.1452, allocations: 114.8 kB / 431.3 MB, free: 320 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.1453, allocations: 135.9 kB / 431.5 MB, free: 176 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.1454, allocations: 25.7 kB / 431.5 MB, free: 144 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.1454, allocations: 96.47 kB / 431.6 MB, free: 44 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.1455, allocations: 15.94 kB / 431.6 MB, free: 28 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.39e-05/0.1455, allocations: 29.66 kB / 431.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1457, allocations: 314.8 kB / 431.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.027e-05/0.1458, allocations: 15.98 kB / 431.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.378e-05/0.1459, allocations: 71.66 kB / 432 MB, free: 15.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.146, allocations: 95.59 kB / 432.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.146, allocations: 0 / 432.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002168/0.1462, allocations: 109.7 kB / 432.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1463, allocations: 8 kB / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.1463, allocations: 7.984 kB / 432.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1463, allocations: 4 kB / 432.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.267e-05/0.1464, allocations: 16 kB / 432.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.1464, allocations: 3.984 kB / 432.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.557e-05/0.1464, allocations: 7.953 kB / 432.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.1464, allocations: 4 kB / 432.3 MB, free: 15.28 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001346/0.1466, allocations: 129.7 kB / 432.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.1467, allocations: 77.64 kB / 432.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.563e-05/0.1468, allocations: 16.7 kB / 432.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1468, allocations: 192 / 432.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.1468, allocations: 3.938 kB / 432.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1468, allocations: 7.938 kB / 432.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.1471, allocations: 185.5 kB / 432.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1471, allocations: 0 / 432.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.204e-05/0.1471, allocations: 23.92 kB / 432.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1471, allocations: 0 / 432.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.1472, allocations: 8 kB / 432.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.1472, allocations: 4 kB / 432.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1472, allocations: 0 / 432.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000449/0.1476, allocations: 316.2 kB / 433 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.1477, allocations: 93.05 kB / 433.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.1477, allocations: 11.94 kB / 433.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.1478, allocations: 4 kB / 433.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.1479, allocations: 7.984 kB / 433.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1479, allocations: 0 / 433.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.148, allocations: 109.8 kB / 433.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.148, allocations: 0 / 433.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00029/0.1483, allocations: 12 kB / 433.2 MB, free: 14.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (10): * Single equations (assignments): 10 * 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.0001534/0.1484, allocations: 103.8 kB / 433.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.1486, allocations: 59.84 kB / 433.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1486, allocations: 0 / 433.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.67e-05/0.1487, allocations: 15.98 kB / 433.4 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.1492, allocations: 43.94 kB / 433.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005383/0.1497, allocations: 237.9 kB / 433.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.1501, allocations: 0.6963 MB / 434.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.1502, allocations: 11.44 kB / 434.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1502, allocations: 0 / 434.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of Templates: time 0.003399/0.1536, allocations: 0.9261 MB / 435.3 MB, free: 12.02 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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: 7.603905180993024]