Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001653/0.001653, allocations: 119.5 kB / 18.5 MB, free: 4.551 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.001965/0.001965, allocations: 205.7 kB / 21.45 MB, free: 1.605 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.728/1.728, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.89 kB / 373.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1438, allocations: 53.33 MB / 427.1 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003435/0.1472, allocations: 1.517 MB / 428.7 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004705/0.1477, allocations: 143.5 kB / 428.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.589e-05/0.1478, allocations: 7.938 kB / 428.8 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.033e-05/0.1479, allocations: 3.938 kB / 428.8 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.148, allocations: 3.938 kB / 428.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.1483, allocations: 39.89 kB / 428.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.1485, allocations: 27.92 kB / 428.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1486, allocations: 12 kB / 428.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.546e-05/0.1486, allocations: 15.92 kB / 428.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.883e-05/0.1487, allocations: 15.92 kB / 428.9 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.1487, allocations: 4 kB / 428.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.1487, allocations: 0 / 428.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.509e-05/0.1488, allocations: 15.92 kB / 428.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.1488, allocations: 19.81 kB / 429 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.1489, allocations: 55.62 kB / 429 MB, free: 2.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.149, allocations: 0 / 429 MB, free: 2.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.149, allocations: 0 / 429 MB, free: 2.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.149, allocations: 4 kB / 429 MB, free: 2.578 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005657/0.1495, allocations: 371.2 kB / 429.4 MB, free: 2.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1496, allocations: 8.031 kB / 429.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.1496, allocations: 8.891 kB / 429.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.1499, allocations: 190.4 kB / 429.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.1499, allocations: 4.375 kB / 429.6 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.1499, allocations: 4.375 kB / 429.6 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.1503, allocations: 125.5 kB / 429.7 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1503, allocations: 192 / 429.7 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1503, allocations: 3.938 kB / 429.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1503, allocations: 0 / 429.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.385e-05/0.1504, allocations: 15.98 kB / 429.7 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.1508, allocations: 269.6 kB / 430 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.151, allocations: 134.2 kB / 430.1 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.987e-05/0.151, allocations: 25.78 kB / 430.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.1511, allocations: 7.938 kB / 430.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.1511, allocations: 30.56 kB / 430.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1511, allocations: 0 / 430.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002727/0.1514, allocations: 73.56 kB / 430.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/0.1515, allocations: 81.11 kB / 430.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.1516, allocations: 129.8 kB / 430.5 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.1516, allocations: 29.83 kB / 430.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.589e-05/0.1517, allocations: 88.12 kB / 430.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.748e-06/0.1517, allocations: 0 / 430.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.1518, allocations: 25.67 kB / 430.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1519, allocations: 314.8 kB / 430.9 MB, free: 420 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.544e-05/0.152, allocations: 7.984 kB / 430.9 MB, free: 412 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-05/0.152, allocations: 27.44 kB / 431 MB, free: 372 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.135e-05/0.1521, allocations: 47.36 kB / 431 MB, free: 312 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1521, allocations: 0 / 431 MB, free: 312 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001505/0.1522, allocations: 65.5 kB / 431.1 MB, free: 240 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1523, allocations: 8.125 kB / 431.1 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1523, allocations: 4 kB / 431.1 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1523, allocations: 3.938 kB / 431.1 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.215e-05/0.1523, allocations: 0 / 431.1 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.1523, allocations: 11.98 kB / 431.1 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.92e-05/0.1523, allocations: 0 / 431.1 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1523, allocations: 4 kB / 431.1 MB, free: 208 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001125/0.1525, allocations: 117.8 kB / 431.2 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.962e-05/0.1525, allocations: 53.58 kB / 431.3 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.476e-05/0.1526, allocations: 15.98 kB / 431.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1526, allocations: 336 / 431.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1526, allocations: 0 / 431.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1526, allocations: 3.938 kB / 431.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.1528, allocations: 173.6 kB / 431.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1528, allocations: 4 kB / 431.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.293e-06/0.1528, allocations: 0 / 431.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1528, allocations: 0 / 431.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.1528, allocations: 0 / 431.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.1528, allocations: 7.984 kB / 431.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1528, allocations: 0 / 431.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.153, allocations: 168.2 kB / 431.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.53e-05/0.1531, allocations: 93.05 kB / 431.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.1531, allocations: 0 / 431.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.137e-05/0.1532, allocations: 0 / 431.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.1532, allocations: 4 kB / 431.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1532, allocations: 0 / 431.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.331e-05/0.1533, allocations: 116.5 kB / 431.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1533, allocations: 0 / 431.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002206/0.1535, allocations: 4 kB / 431.8 MB, free: 15.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001302/0.1537, allocations: 99.25 kB / 431.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.1538, allocations: 23.92 kB / 432 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.1538, allocations: 4 kB / 432 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.617e-05/0.1538, allocations: 4.25 kB / 432 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.1542, allocations: 26.7 kB / 432 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.1546, allocations: 150.3 kB / 432.1 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.155, allocations: 0.6885 MB / 432.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.349e-05/0.155, allocations: 4 kB / 432.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.155, allocations: 7.438 kB / 432.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.155, allocations: 0 / 432.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of Templates: time 0.003529/0.1585, allocations: 0.498 MB / 433.3 MB, free: 13.79 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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: 5.059285241179168]