Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.00139/0.00139, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001247/0.001247, allocations: 140.3 kB / 24.89 MB, free: 9.207 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.9555/0.9555, allocations: 173.3 MB / 201.5 MB, free: 9.168 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.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 268.5 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.709e-05, allocations: 6.25 kB / 268.5 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002008/0.002025, allocations: 1.526 MB / 270 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002219/0.002247, allocations: 103.6 kB / 270.1 MB, free: 4.488 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.002298, allocations: 0 / 270.1 MB, free: 4.488 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.441e-05/0.002322, allocations: 7.922 kB / 270.1 MB, free: 4.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.228e-05/0.002354, allocations: 7.938 kB / 270.1 MB, free: 4.473 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.00253, allocations: 23.92 kB / 270.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.362e-05/0.002594, allocations: 23.92 kB / 270.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.925e-05/0.002663, allocations: 15.92 kB / 270.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.265e-05/0.002705, allocations: 11.98 kB / 270.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.443e-05/0.00273, allocations: 7.938 kB / 270.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.002746, allocations: 4 kB / 270.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.081e-06/0.002752, allocations: 0 / 270.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.002766, allocations: 7.984 kB / 270.2 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.633e-05/0.002783, allocations: 4 kB / 270.2 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 6.399e-05/0.002847, allocations: 23.91 kB / 270.3 MB, free: 4.352 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.002848, allocations: 4 kB / 270.3 MB, free: 4.348 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.002849, allocations: 0 / 270.3 MB, free: 4.348 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.002852, allocations: 0 / 270.3 MB, free: 4.348 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002161/0.003068, allocations: 236.9 kB / 270.5 MB, free: 4.09 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.642e-05/0.003094, allocations: 8.031 kB / 270.5 MB, free: 4.082 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.481e-05/0.003119, allocations: 4.938 kB / 270.5 MB, free: 4.078 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.003223, allocations: 121.7 kB / 270.6 MB, free: 3.934 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.003235, allocations: 384 / 270.6 MB, free: 3.934 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-06/0.003241, allocations: 4.375 kB / 270.6 MB, free: 3.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.003381, allocations: 104.5 kB / 270.7 MB, free: 3.812 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.638e-06/0.003385, allocations: 192 / 270.7 MB, free: 3.812 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.421e-06/0.003391, allocations: 384 / 270.7 MB, free: 3.812 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.003394, allocations: 384 / 270.7 MB, free: 3.812 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.554e-05/0.00341, allocations: 7.938 kB / 270.7 MB, free: 3.805 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.355e-05/0.003463, allocations: 68.98 kB / 270.8 MB, free: 3.723 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.745e-05/0.003511, allocations: 26.52 kB / 270.8 MB, free: 3.688 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/0.003526, allocations: 16.84 kB / 270.9 MB, free: 3.668 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.003537, allocations: 7.984 kB / 270.9 MB, free: 3.66 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.003554, allocations: 34.56 kB / 270.9 MB, free: 3.617 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 5.51e-07/0.003554, allocations: 0 / 270.9 MB, free: 3.617 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 7.417e-05/0.003628, allocations: 45.69 kB / 270.9 MB, free: 3.566 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.003658, allocations: 55.34 kB / 271 MB, free: 3.5 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.949e-05/0.003707, allocations: 110.6 kB / 271.1 MB, free: 3.379 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.407e-06/0.003716, allocations: 25.7 kB / 271.1 MB, free: 3.348 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.785e-05/0.003734, allocations: 84.12 kB / 271.2 MB, free: 3.262 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.152e-06/0.003735, allocations: 0 / 271.2 MB, free: 3.262 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.652e-05/0.003752, allocations: 13.72 kB / 271.2 MB, free: 3.242 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.072e-05/0.003813, allocations: 314.8 kB / 271.5 MB, free: 2.926 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.294e-06/0.003815, allocations: 4 kB / 271.5 MB, free: 2.922 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.545e-06/0.003818, allocations: 0 / 271.5 MB, free: 2.922 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.704e-05/0.003835, allocations: 79.28 kB / 271.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-05/0.003851, allocations: 75.28 kB / 271.7 MB, free: 2.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.364e-05/0.003885, allocations: 33.69 kB / 271.7 MB, free: 2.73 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.003907, allocations: 86.25 kB / 271.8 MB, free: 2.648 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.003924, allocations: 79.22 kB / 271.9 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-05/0.003959, allocations: 150.6 kB / 272 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.655e-05/0.003976, allocations: 83.22 kB / 272.1 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-05/0.004004, allocations: 150.6 kB / 272.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.331e-05/0.004067, allocations: 75.53 kB / 272.3 MB, free: 2.117 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.004087, allocations: 87.22 kB / 272.4 MB, free: 2.031 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 6.105e-05/0.004148, allocations: 193 kB / 272.6 MB, free: 1.832 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/0.004188, allocations: 37.7 kB / 272.6 MB, free: 1.789 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/0.004209, allocations: 15.67 kB / 272.7 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.004211, allocations: 0 / 272.7 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.004212, allocations: 0 / 272.7 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.004214, allocations: 0 / 272.7 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.131e-05/0.004256, allocations: 69.78 kB / 272.7 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.004258, allocations: 0 / 272.7 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.305e-05/0.004291, allocations: 7.922 kB / 272.7 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.004293, allocations: 8.234 kB / 272.7 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-06/0.004297, allocations: 4 kB / 272.7 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.004298, allocations: 0 / 272.7 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.004299, allocations: 0 / 272.7 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.00441, allocations: 57.06 kB / 272.8 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.632e-05/0.004426, allocations: 4 kB / 272.8 MB, free: 1.59 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.00444, allocations: 0 / 272.8 MB, free: 1.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.022e-05/0.00448, allocations: 3.984 kB / 272.8 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-06/0.004484, allocations: 0 / 272.8 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.00449, allocations: 3.938 kB / 272.8 MB, free: 1.582 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.195e-05/0.004512, allocations: 8.859 kB / 272.8 MB, free: 1.57 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004512, allocations: 4 kB / 272.8 MB, free: 1.566 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001081/0.00462, allocations: 4 kB / 272.8 MB, free: 1.562 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.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 9.936e-05/0.004719, allocations: 84.42 kB / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.704e-05/0.004766, allocations: 11.92 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.004769, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-07/0.00477, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/0.004882, allocations: 17.09 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000218/0.0051, allocations: 111.5 kB / 273.1 MB, free: 1.305 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.415e-05/0.005134, allocations: 63.34 kB / 273.1 MB, free: 1.223 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.68e-06/0.00514, allocations: 0 / 273.1 MB, free: 1.223 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.005172, allocations: 47.38 kB / 273.2 MB, free: 1.176 MB / 250.7 MB Notification: Performance of SimCode: time 9.32e-07/0.005173, allocations: 4 kB / 273.2 MB, free: 1.172 MB / 250.7 MB Notification: Performance of Templates: time 0.001813/0.006986, allocations: 312.3 kB / 273.5 MB, free: 0.8672 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.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.337036421056837]