Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.0009731/0.0009731, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.0008778/0.0008778, allocations: 145.4 kB / 24.89 MB, free: 9.227 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.96/0.96, allocations: 173.3 MB / 201.5 MB, free: 9.211 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 268.5 MB, free: 6.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.356e-05, allocations: 2.312 kB / 268.5 MB, free: 6.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002756/0.00278, allocations: 1.452 MB / 269.9 MB, free: 4.746 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001923/0.002972, allocations: 43.78 kB / 270 MB, free: 4.703 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.943e-05/0.003031, allocations: 0 / 270 MB, free: 4.703 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.00306, allocations: 3.938 kB / 270 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.773e-05/0.003098, allocations: 3.984 kB / 270 MB, free: 4.695 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.003328, allocations: 23.92 kB / 270 MB, free: 4.672 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.553e-05/0.003424, allocations: 27.92 kB / 270 MB, free: 4.645 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.684e-05/0.00351, allocations: 11.97 kB / 270 MB, free: 4.633 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.003572, allocations: 15.98 kB / 270 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.994e-05/0.003612, allocations: 7.938 kB / 270.1 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.003636, allocations: 4 kB / 270.1 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.247e-06/0.003645, allocations: 4 kB / 270.1 MB, free: 4.602 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.003665, allocations: 11.98 kB / 270.1 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.003685, allocations: 7.984 kB / 270.1 MB, free: 4.582 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.667e-05/0.003772, allocations: 19.92 kB / 270.1 MB, free: 4.562 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003774, allocations: 0 / 270.1 MB, free: 4.562 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003774, allocations: 0 / 270.1 MB, free: 4.562 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.615e-06/0.003777, allocations: 0 / 270.1 MB, free: 4.562 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.000298/0.004075, allocations: 248.9 kB / 270.3 MB, free: 4.293 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.00411, allocations: 8.031 kB / 270.4 MB, free: 4.285 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.00414, allocations: 8.938 kB / 270.4 MB, free: 4.277 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.004274, allocations: 121.7 kB / 270.5 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.004292, allocations: 8.375 kB / 270.5 MB, free: 4.125 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.004303, allocations: 4.375 kB / 270.5 MB, free: 4.121 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.004489, allocations: 96.56 kB / 270.6 MB, free: 4.012 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.004497, allocations: 192 / 270.6 MB, free: 4.012 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.004503, allocations: 384 / 270.6 MB, free: 4.012 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.004511, allocations: 4.375 kB / 270.6 MB, free: 4.008 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.523e-05/0.004536, allocations: 11.92 kB / 270.6 MB, free: 3.996 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.609e-05/0.004602, allocations: 53.05 kB / 270.7 MB, free: 3.93 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.618e-05/0.004668, allocations: 46.44 kB / 270.7 MB, free: 3.875 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.004694, allocations: 8.859 kB / 270.7 MB, free: 3.863 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-06/0.0047, allocations: 0 / 270.7 MB, free: 3.863 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.004721, allocations: 34.56 kB / 270.7 MB, free: 3.82 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.004722, allocations: 0 / 270.7 MB, free: 3.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 9.885e-05/0.004821, allocations: 41.88 kB / 270.8 MB, free: 3.773 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.004869, allocations: 67.3 kB / 270.8 MB, free: 3.695 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.966e-05/0.004929, allocations: 106.7 kB / 271 MB, free: 3.578 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.004939, allocations: 25.7 kB / 271 MB, free: 3.547 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.426e-05/0.004964, allocations: 88.12 kB / 271.1 MB, free: 3.457 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.005e-06/0.004972, allocations: 0 / 271.1 MB, free: 3.457 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.005001, allocations: 21.7 kB / 271.1 MB, free: 3.43 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.444e-05/0.005086, allocations: 314.8 kB / 271.4 MB, free: 3.113 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.438e-06/0.00509, allocations: 0 / 271.4 MB, free: 3.113 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-06/0.005096, allocations: 4 kB / 271.4 MB, free: 3.109 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.854e-05/0.005115, allocations: 8.859 kB / 271.4 MB, free: 3.098 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.005116, allocations: 0 / 271.4 MB, free: 3.098 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.846e-05/0.005165, allocations: 37.67 kB / 271.4 MB, free: 3.055 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.005176, allocations: 11.94 kB / 271.5 MB, free: 3.043 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.00518, allocations: 0 / 271.5 MB, free: 3.043 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.005192, allocations: 4.094 kB / 271.5 MB, free: 3.039 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.548e-05/0.005228, allocations: 4 kB / 271.5 MB, free: 3.035 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.00523, allocations: 0 / 271.5 MB, free: 3.035 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.276e-05/0.005243, allocations: 4 kB / 271.5 MB, free: 3.031 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-06/0.005246, allocations: 0 / 271.5 MB, free: 3.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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.249e-05/0.005309, allocations: 117.8 kB / 271.6 MB, free: 2.906 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.005345, allocations: 37.69 kB / 271.6 MB, free: 2.863 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.336e-05/0.005368, allocations: 7.688 kB / 271.6 MB, free: 2.852 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.00537, allocations: 0 / 271.6 MB, free: 2.852 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.005373, allocations: 4.234 kB / 271.6 MB, free: 2.848 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.005375, allocations: 4 kB / 271.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.42e-05/0.005429, allocations: 73.78 kB / 271.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.00543, allocations: 0 / 271.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.033e-05/0.005451, allocations: 7.938 kB / 271.7 MB, free: 2.746 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.005452, allocations: 0 / 271.7 MB, free: 2.746 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.005457, allocations: 3.984 kB / 271.7 MB, free: 2.742 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.00546, allocations: 4 kB / 271.7 MB, free: 2.738 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.00546, allocations: 0 / 271.7 MB, free: 2.738 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.009e-05/0.0055, allocations: 53.08 kB / 271.8 MB, free: 2.668 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-06/0.005508, allocations: 3.953 kB / 271.8 MB, free: 2.664 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.00552, allocations: 0 / 271.8 MB, free: 2.664 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.305e-05/0.005543, allocations: 15.98 kB / 271.8 MB, free: 2.648 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-06/0.005545, allocations: 0 / 271.8 MB, free: 2.648 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.005548, allocations: 0 / 271.8 MB, free: 2.648 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.318e-05/0.005561, allocations: 8.859 kB / 271.8 MB, free: 2.637 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.005561, allocations: 0 / 271.8 MB, free: 2.637 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001596/0.005721, allocations: 4 kB / 271.8 MB, free: 2.633 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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 7.564e-05/0.005796, allocations: 76.42 kB / 271.9 MB, free: 2.547 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.615e-05/0.005852, allocations: 20.78 kB / 271.9 MB, free: 2.523 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.005855, allocations: 0 / 271.9 MB, free: 2.523 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.005855, allocations: 4.062 kB / 271.9 MB, free: 2.52 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001006/0.005956, allocations: 21.38 kB / 271.9 MB, free: 2.496 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001988/0.006155, allocations: 111.2 kB / 272 MB, free: 2.363 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.57e-05/0.00619, allocations: 59.34 kB / 272.1 MB, free: 2.285 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.222e-05/0.006202, allocations: 0 / 272.1 MB, free: 2.285 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.00624, allocations: 51.38 kB / 272.1 MB, free: 2.234 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.006241, allocations: 0 / 272.1 MB, free: 2.234 MB / 250.7 MB Notification: Performance of Templates: time 0.001943/0.008183, allocations: 416.5 kB / 272.5 MB, free: 1.832 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.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.3501011501066387]