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.0009451/0.0009451, allocations: 76.06 kB / 21.69 MB, free: 2.855 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.001842/0.001842, allocations: 143.7 kB / 24.98 MB, free: 8.707 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.9424/0.9424, allocations: 173.4 MB / 201.5 MB, free: 8.449 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.884e-06/1.884e-06, allocations: 0 / 268.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.895e-05/3.084e-05, allocations: 2.312 kB / 268.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003223/0.003254, allocations: 1.545 MB / 269.6 MB, free: 8.812 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004548/0.003709, allocations: 151.9 kB / 269.8 MB, free: 8.664 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.295e-05/0.003802, allocations: 1.219 kB / 269.8 MB, free: 8.664 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.789e-05/0.00386, allocations: 3.938 kB / 269.8 MB, free: 8.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.004003, allocations: 11.92 kB / 269.8 MB, free: 8.648 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.004265, allocations: 32.34 kB / 269.8 MB, free: 8.617 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.00438, allocations: 39.86 kB / 269.8 MB, free: 8.578 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.004501, allocations: 16.56 kB / 269.9 MB, free: 8.562 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.475e-05/0.004555, allocations: 13.95 kB / 269.9 MB, free: 8.551 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.539e-05/0.004591, allocations: 11.92 kB / 269.9 MB, free: 8.539 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.004617, allocations: 4 kB / 269.9 MB, free: 8.535 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.004628, allocations: 0 / 269.9 MB, free: 8.535 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.169e-05/0.00468, allocations: 12 kB / 269.9 MB, free: 8.523 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.004714, allocations: 15.92 kB / 269.9 MB, free: 8.508 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.004837, allocations: 29.62 kB / 269.9 MB, free: 8.48 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.00484, allocations: 3.938 kB / 269.9 MB, free: 8.477 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.004841, allocations: 0 / 269.9 MB, free: 8.477 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.004846, allocations: 0 / 269.9 MB, free: 8.477 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.0004655/0.005311, allocations: 397.1 kB / 270.3 MB, free: 8.051 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.005353, allocations: 8.031 kB / 270.3 MB, free: 8.043 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.005405, allocations: 13.64 kB / 270.4 MB, free: 8.031 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.005612, allocations: 136.2 kB / 270.5 MB, free: 7.875 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.005634, allocations: 4.312 kB / 270.5 MB, free: 7.871 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.005647, allocations: 5.094 kB / 270.5 MB, free: 7.867 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.005941, allocations: 132.3 kB / 270.6 MB, free: 7.715 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.005949, allocations: 192 / 270.6 MB, free: 7.715 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.005961, allocations: 4.359 kB / 270.6 MB, free: 7.711 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.005973, allocations: 4.375 kB / 270.6 MB, free: 7.707 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.015e-05/0.006003, allocations: 11.92 kB / 270.6 MB, free: 7.695 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.006328, allocations: 271.9 kB / 270.9 MB, free: 7.391 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.006453, allocations: 63.84 kB / 271 MB, free: 7.305 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.407e-05/0.006497, allocations: 23.42 kB / 271 MB, free: 7.273 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.006518, allocations: 4 kB / 271 MB, free: 7.27 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.006546, allocations: 37.86 kB / 271 MB, free: 7.223 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 3.256e-06/0.00655, allocations: 0.9375 kB / 271 MB, free: 7.223 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002028/0.006752, allocations: 69.52 kB / 271.1 MB, free: 7.148 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.006808, allocations: 77.61 kB / 271.2 MB, free: 7.055 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.006934, allocations: 186 kB / 271.4 MB, free: 6.855 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.006948, allocations: 37.7 kB / 271.4 MB, free: 6.812 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.007012, allocations: 126.9 kB / 271.5 MB, free: 6.684 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.228e-06/0.007021, allocations: 0 / 271.5 MB, free: 6.684 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.007059, allocations: 27.36 kB / 271.6 MB, free: 6.648 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.007213, allocations: 492.1 kB / 272 MB, free: 6.156 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.007229, allocations: 4 kB / 272 MB, free: 6.152 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-06/0.007236, allocations: 0 / 272 MB, free: 6.152 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.631e-05/0.007262, allocations: 11.69 kB / 272.1 MB, free: 6.137 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.007264, allocations: 0 / 272.1 MB, free: 6.137 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.879e-05/0.007333, allocations: 45.66 kB / 272.1 MB, free: 6.086 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.00735, allocations: 10.48 kB / 272.1 MB, free: 6.078 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.007357, allocations: 3.938 kB / 272.1 MB, free: 6.074 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.007372, allocations: 4 kB / 272.1 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.179e-05/0.007383, allocations: 0 / 272.1 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.007389, allocations: 0 / 272.1 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.007422, allocations: 0 / 272.1 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.007427, allocations: 0 / 272.1 MB, free: 6.07 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 8.279e-05/0.00751, allocations: 156.6 kB / 272.3 MB, free: 5.906 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.971e-05/0.007579, allocations: 45.69 kB / 272.3 MB, free: 5.855 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.007618, allocations: 19.91 kB / 272.3 MB, free: 5.828 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.007621, allocations: 3.938 kB / 272.3 MB, free: 5.824 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.007625, allocations: 4 kB / 272.3 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.007629, allocations: 0 / 272.3 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.007776, allocations: 124.6 kB / 272.5 MB, free: 5.664 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.00778, allocations: 7.984 kB / 272.5 MB, free: 5.656 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.224e-06/0.007787, allocations: 0 / 272.5 MB, free: 5.656 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.007791, allocations: 4 kB / 272.5 MB, free: 5.652 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.007798, allocations: 0 / 272.5 MB, free: 5.652 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.007802, allocations: 3.938 kB / 272.5 MB, free: 5.648 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.007803, allocations: 0 / 272.5 MB, free: 5.648 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.007947, allocations: 211.9 kB / 272.7 MB, free: 5.418 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.007986, allocations: 19.91 kB / 272.7 MB, free: 5.398 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.007999, allocations: 0 / 272.7 MB, free: 5.398 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.008071, allocations: 11.94 kB / 272.7 MB, free: 5.387 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.008104, allocations: 0 / 272.7 MB, free: 5.387 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.008108, allocations: 0 / 272.7 MB, free: 5.387 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.5e-05/0.008183, allocations: 142.5 kB / 272.9 MB, free: 5.25 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008183, allocations: 0 / 272.9 MB, free: 5.25 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002634/0.008447, allocations: 4 kB / 272.9 MB, free: 5.246 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 9.833e-05/0.008545, allocations: 99.25 kB / 273 MB, free: 5.141 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.149e-05/0.008637, allocations: 19.67 kB / 273 MB, free: 5.117 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.008639, allocations: 4 kB / 273 MB, free: 5.113 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.825e-05/0.008657, allocations: 11.62 kB / 273 MB, free: 5.098 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.009041, allocations: 23.95 kB / 273 MB, free: 5.074 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.009367, allocations: 148.8 kB / 273.2 MB, free: 4.898 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.078e-05/0.009418, allocations: 63.34 kB / 273.2 MB, free: 4.816 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.683e-05/0.009435, allocations: 0 / 273.2 MB, free: 4.816 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.009463, allocations: 12.62 kB / 273.2 MB, free: 4.805 MB / 250.7 MB Notification: Performance of SimCode: time 9.22e-07/0.009464, allocations: 0 / 273.2 MB, free: 4.805 MB / 250.7 MB Notification: Performance of Templates: time 0.00274/0.0122, allocations: 0.5143 MB / 273.7 MB, free: 4.301 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.8303377509582788]