Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001359/0.001359, allocations: 80.62 kB / 22.21 MB, free: 2.297 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.00114/0.00114, allocations: 151.1 kB / 25.6 MB, free: 8.938 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.9722/0.9722, allocations: 173.4 MB / 202.2 MB, free: 8.297 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/1.986e-05, allocations: 6.484 kB / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.001925/0.001945, allocations: 1.553 MB / 270.7 MB, free: 8.227 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003245/0.00227, allocations: 147.4 kB / 270.9 MB, free: 8.082 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.911e-05/0.002339, allocations: 0 / 270.9 MB, free: 8.082 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.873e-05/0.002387, allocations: 4.938 kB / 270.9 MB, free: 8.078 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.002497, allocations: 7.938 kB / 270.9 MB, free: 8.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.00267, allocations: 39.77 kB / 270.9 MB, free: 8.031 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.396e-05/0.002744, allocations: 28.67 kB / 271 MB, free: 8.004 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.63e-05/0.00282, allocations: 19.97 kB / 271 MB, free: 7.984 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.104e-05/0.002861, allocations: 16.67 kB / 271 MB, free: 7.969 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.085e-05/0.002882, allocations: 7.938 kB / 271 MB, free: 7.961 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.002899, allocations: 4.719 kB / 271 MB, free: 7.957 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.403e-06/0.002906, allocations: 0 / 271 MB, free: 7.957 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.868e-05/0.002945, allocations: 18.89 kB / 271 MB, free: 7.941 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.904e-05/0.002964, allocations: 7.984 kB / 271 MB, free: 7.934 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.998e-05/0.003044, allocations: 35.84 kB / 271.1 MB, free: 7.898 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003046, allocations: 0 / 271.1 MB, free: 7.898 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.003046, allocations: 3.938 kB / 271.1 MB, free: 7.895 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.00305, allocations: 0 / 271.1 MB, free: 7.895 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003139/0.003364, allocations: 404.3 kB / 271.5 MB, free: 7.461 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.003393, allocations: 9 kB / 271.5 MB, free: 7.453 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.00342, allocations: 8.891 kB / 271.5 MB, free: 7.445 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.003552, allocations: 132.6 kB / 271.6 MB, free: 7.289 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.003566, allocations: 4.375 kB / 271.6 MB, free: 7.285 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-06/0.003573, allocations: 4.375 kB / 271.6 MB, free: 7.281 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.003738, allocations: 121.5 kB / 271.8 MB, free: 7.137 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.003745, allocations: 4.188 kB / 271.8 MB, free: 7.133 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.003752, allocations: 4.375 kB / 271.8 MB, free: 7.129 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.003757, allocations: 384 / 271.8 MB, free: 7.129 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.324e-05/0.00377, allocations: 11.94 kB / 271.8 MB, free: 7.117 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/0.003958, allocations: 244.1 kB / 272 MB, free: 6.848 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.493e-05/0.004032, allocations: 62.12 kB / 272.1 MB, free: 6.762 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/0.004062, allocations: 35.41 kB / 272.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.004073, allocations: 0 / 272.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.004094, allocations: 37.33 kB / 272.1 MB, free: 6.672 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.004095, allocations: 0 / 272.1 MB, free: 6.672 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001206/0.004216, allocations: 61.52 kB / 272.2 MB, free: 6.605 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.979e-05/0.004256, allocations: 81.11 kB / 272.3 MB, free: 6.508 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.564e-05/0.004341, allocations: 196.9 kB / 272.5 MB, free: 6.301 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.004348, allocations: 25.7 kB / 272.5 MB, free: 6.27 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.004392, allocations: 134.9 kB / 272.6 MB, free: 6.133 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.136e-06/0.0044, allocations: 3.984 kB / 272.6 MB, free: 6.129 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.004425, allocations: 23.38 kB / 272.7 MB, free: 6.098 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.004526, allocations: 496.1 kB / 273.1 MB, free: 5.602 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-06/0.004531, allocations: 0 / 273.1 MB, free: 5.602 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-06/0.004538, allocations: 4 kB / 273.1 MB, free: 5.598 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.572e-05/0.004553, allocations: 7.688 kB / 273.2 MB, free: 5.586 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.004555, allocations: 4 kB / 273.2 MB, free: 5.582 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.062e-05/0.004595, allocations: 49.58 kB / 273.2 MB, free: 5.527 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.004605, allocations: 4 kB / 273.2 MB, free: 5.523 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.004609, allocations: 0 / 273.2 MB, free: 5.523 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/0.004617, allocations: 3.938 kB / 273.2 MB, free: 5.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.031e-06/0.004623, allocations: 0 / 273.2 MB, free: 5.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.004625, allocations: 0 / 273.2 MB, free: 5.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/0.004645, allocations: 4 kB / 273.2 MB, free: 5.516 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-06/0.004648, allocations: 0 / 273.2 MB, free: 5.516 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: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.858e-05/0.004707, allocations: 152.6 kB / 273.4 MB, free: 5.355 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.004746, allocations: 49.72 kB / 273.4 MB, free: 5.301 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.004769, allocations: 12 kB / 273.4 MB, free: 5.281 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.004771, allocations: 7.875 kB / 273.4 MB, free: 5.273 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.004773, allocations: 0 / 273.4 MB, free: 5.273 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.004775, allocations: 0 / 273.4 MB, free: 5.273 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.001e-05/0.004865, allocations: 105.2 kB / 273.5 MB, free: 5.145 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.004866, allocations: 0 / 273.5 MB, free: 5.145 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-06/0.00487, allocations: 0 / 273.5 MB, free: 5.145 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.004872, allocations: 4 kB / 273.5 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.004876, allocations: 4 kB / 273.5 MB, free: 5.137 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.004877, allocations: 0 / 273.5 MB, free: 5.137 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.004878, allocations: 4 kB / 273.5 MB, free: 5.133 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.456e-05/0.004952, allocations: 199.5 kB / 273.7 MB, free: 4.914 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.004973, allocations: 15.94 kB / 273.8 MB, free: 4.898 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-06/0.004981, allocations: 0 / 273.8 MB, free: 4.898 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.187e-05/0.005013, allocations: 7.938 kB / 273.8 MB, free: 4.891 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.005031, allocations: 0 / 273.8 MB, free: 4.891 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.005036, allocations: 3.938 kB / 273.8 MB, free: 4.887 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.025e-05/0.005076, allocations: 139.2 kB / 273.9 MB, free: 4.75 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005076, allocations: 0 / 273.9 MB, free: 4.75 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001397/0.005216, allocations: 4 kB / 273.9 MB, free: 4.746 MB / 250.7 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 6.674e-05/0.005283, allocations: 99.27 kB / 274 MB, free: 4.641 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.029e-05/0.005333, allocations: 15.69 kB / 274 MB, free: 4.621 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.005334, allocations: 0 / 274 MB, free: 4.621 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.306e-05/0.005347, allocations: 19.62 kB / 274 MB, free: 4.598 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.005549, allocations: 20.42 kB / 274.1 MB, free: 4.578 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001937/0.005742, allocations: 152.8 kB / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.312e-05/0.005776, allocations: 67.28 kB / 274.3 MB, free: 4.312 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.23e-05/0.005788, allocations: 4.125 kB / 274.3 MB, free: 4.309 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.005831, allocations: 78.19 kB / 274.4 MB, free: 4.23 MB / 250.7 MB Notification: Performance of SimCode: time 4.71e-07/0.005831, allocations: 4 kB / 274.4 MB, free: 4.227 MB / 250.7 MB Notification: Performance of Templates: time 0.002346/0.008177, allocations: 0.5538 MB / 274.9 MB, free: 3.684 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.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.7514553791843355]