Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 165 kB / 24.56 MB, free: 8 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.934/0.934, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.578e-05, allocations: 2.312 kB / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002349/0.002375, allocations: 1.478 MB / 274.4 MB, free: 56 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001836/0.002559, allocations: 31.91 kB / 274.5 MB, free: 24 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.002612, allocations: 0 / 274.5 MB, free: 24 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.002641, allocations: 3.938 kB / 274.5 MB, free: 20 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.666e-05/0.002678, allocations: 3.938 kB / 274.5 MB, free: 16 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.002926, allocations: 24.02 kB / 274.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.18e-05/0.003008, allocations: 31.88 kB / 274.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.519e-05/0.003093, allocations: 7.922 kB / 274.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.229e-05/0.003145, allocations: 23.97 kB / 274.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.413e-05/0.003179, allocations: 4 kB / 274.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.0032, allocations: 0 / 274.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.787e-06/0.003209, allocations: 4 kB / 274.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.003228, allocations: 11.92 kB / 274.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.003257, allocations: 8 kB / 274.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.373e-05/0.00335, allocations: 19.91 kB / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003353, allocations: 0 / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.003354, allocations: 8 kB / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.003358, allocations: 3.938 kB / 274.6 MB, free: 15.87 MB / 266.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.0006334/0.003992, allocations: 364.6 kB / 275 MB, free: 15.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.004031, allocations: 8.031 kB / 275 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.004075, allocations: 8.891 kB / 275 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.004234, allocations: 128.5 kB / 275.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.004253, allocations: 384 / 275.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.004263, allocations: 4.375 kB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.004495, allocations: 118.2 kB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.004502, allocations: 192 / 275.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.004511, allocations: 384 / 275.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.004519, allocations: 384 / 275.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.701e-05/0.004546, allocations: 7.938 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.904e-05/0.004645, allocations: 116.6 kB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.956e-05/0.004724, allocations: 50.97 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.233e-05/0.004757, allocations: 15.72 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-06/0.004763, allocations: 0 / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.004786, allocations: 37.39 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.004787, allocations: 8 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001419/0.004929, allocations: 53.62 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.004973, allocations: 55.41 kB / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.886e-05/0.005052, allocations: 166 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.005065, allocations: 29.7 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.005101, allocations: 126.9 kB / 275.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.171e-05/0.005112, allocations: 4 kB / 275.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.005144, allocations: 23.36 kB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.005256, allocations: 492.1 kB / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.005268, allocations: 4 kB / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.051e-05/0.005278, allocations: 8.062 kB / 276.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.45e-05/0.005303, allocations: 15.69 kB / 276.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.005305, allocations: 3.938 kB / 276.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.783e-05/0.005362, allocations: 41.62 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.005377, allocations: 4 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.005381, allocations: 0 / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.005394, allocations: 0 / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.954e-05/0.005443, allocations: 4 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.005448, allocations: 0 / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.48e-05/0.005463, allocations: 7.891 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.005467, allocations: 8.094 kB / 276.5 MB, free: 13.78 MB / 266.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.847e-05/0.005536, allocations: 156.6 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/0.005588, allocations: 45.69 kB / 276.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.179e-05/0.00561, allocations: 3.688 kB / 276.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.005612, allocations: 7.938 kB / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.005616, allocations: 0 / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.005619, allocations: 3.938 kB / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.993e-05/0.005679, allocations: 116.6 kB / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.00568, allocations: 0 / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/0.005704, allocations: 0 / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.005708, allocations: 8 kB / 276.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.005714, allocations: 3.984 kB / 276.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.005715, allocations: 0 / 276.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.005716, allocations: 0 / 276.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.886e-05/0.005795, allocations: 84.38 kB / 276.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.005805, allocations: 7.953 kB / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.005822, allocations: 8 kB / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.506e-05/0.005837, allocations: 0 / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-06/0.00584, allocations: 288 / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.005843, allocations: 0 / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.982e-05/0.005883, allocations: 135.1 kB / 277.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005883, allocations: 4 kB / 277.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001877/0.006071, allocations: 8 kB / 277.1 MB, free: 13.12 MB / 266.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 8.114e-05/0.006152, allocations: 102.7 kB / 277.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.886e-05/0.006231, allocations: 27.59 kB / 277.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.006233, allocations: 0 / 277.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.006234, allocations: 0 / 277.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.006422, allocations: 19.94 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002312/0.006653, allocations: 116.8 kB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.136e-05/0.006684, allocations: 63.41 kB / 277.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.158e-05/0.006696, allocations: 0 / 277.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.006726, allocations: 12.5 kB / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.006726, allocations: 0 / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of Templates: time 0.001995/0.008721, allocations: 384.3 kB / 277.8 MB, free: 12.35 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.5513321007601917]