Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008909/0.0008909, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 163.4 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9592/0.9592, allocations: 177 MB / 205.2 MB, free: 5.059 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.585e-05, allocations: 5.266 kB / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002687/0.002713, allocations: 1.518 MB / 274.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001761/0.002889, allocations: 39.78 kB / 275 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.002946, allocations: 0 / 275 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.136e-05/0.002977, allocations: 3.938 kB / 275 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.761e-05/0.003015, allocations: 0 / 275 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.00325, allocations: 23.97 kB / 275 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.033e-05/0.00333, allocations: 27.92 kB / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.67e-05/0.003407, allocations: 11.98 kB / 275 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.417e-05/0.003461, allocations: 19.92 kB / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.524e-05/0.003496, allocations: 7.984 kB / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.003514, allocations: 4 kB / 275.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.642e-06/0.003521, allocations: 3.938 kB / 275.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.00354, allocations: 11.98 kB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.655e-05/0.003557, allocations: 3.938 kB / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.279e-05/0.00363, allocations: 23.97 kB / 275.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003632, allocations: 0 / 275.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.003633, allocations: 0 / 275.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.003637, allocations: 0 / 275.1 MB, free: 15.33 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.000246/0.003883, allocations: 244.9 kB / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.003915, allocations: 15.98 kB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.301e-05/0.003938, allocations: 4.938 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.004056, allocations: 129.6 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.004071, allocations: 4.375 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.004078, allocations: 4.375 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.00424, allocations: 96.52 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.004246, allocations: 192 / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.004253, allocations: 8.375 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.004259, allocations: 4.359 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/0.004277, allocations: 11.92 kB / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.764e-05/0.004335, allocations: 57.05 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.258e-05/0.004388, allocations: 38.55 kB / 275.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.004405, allocations: 8.859 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.004411, allocations: 0 / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.004431, allocations: 38.5 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.004432, allocations: 0 / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 8.292e-05/0.004515, allocations: 41.69 kB / 275.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.004552, allocations: 59.41 kB / 275.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.754e-05/0.004599, allocations: 110.7 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.004607, allocations: 25.7 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.893e-05/0.004626, allocations: 80.14 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.995e-06/0.004634, allocations: 4 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/0.004652, allocations: 9.719 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.15e-05/0.004723, allocations: 326.8 kB / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.87e-06/0.004728, allocations: 0 / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-06/0.004735, allocations: 7.938 kB / 276.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.632e-05/0.004752, allocations: 4.922 kB / 276.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.004753, allocations: 4 kB / 276.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.96e-05/0.004793, allocations: 41.69 kB / 276.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.004805, allocations: 4 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.004809, allocations: 4 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.004819, allocations: 0 / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.497e-05/0.004854, allocations: 0 / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-06/0.004856, allocations: 7.938 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.486e-06/0.004864, allocations: 0 / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-06/0.004867, allocations: 0 / 276.5 MB, free: 13.79 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 5.546e-05/0.004922, allocations: 117.8 kB / 276.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.004951, allocations: 41.69 kB / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.716e-05/0.004968, allocations: 7.688 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.004969, allocations: 0 / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.004971, allocations: 0 / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.004975, allocations: 3.984 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.728e-05/0.005022, allocations: 65.84 kB / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.005023, allocations: 0 / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/0.005043, allocations: 4 kB / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-07/0.005044, allocations: 0 / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.005048, allocations: 256 / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.005051, allocations: 12 kB / 276.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.005053, allocations: 3.984 kB / 276.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.698e-05/0.00509, allocations: 57.25 kB / 276.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.005102, allocations: 3.953 kB / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.005113, allocations: 8 kB / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.134e-05/0.005125, allocations: 3.984 kB / 276.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-06/0.005127, allocations: 0 / 276.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.005131, allocations: 3.984 kB / 276.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.101e-05/0.005142, allocations: 12.84 kB / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005142, allocations: 0 / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of remove unused functions: time 8.714e-05/0.005229, allocations: 4 kB / 276.8 MB, free: 13.4 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 7.073e-05/0.0053, allocations: 80.42 kB / 276.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.237e-05/0.005352, allocations: 20.84 kB / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.005354, allocations: 0 / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.005356, allocations: 3.938 kB / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.922e-05/0.005445, allocations: 13.34 kB / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000178/0.005623, allocations: 111.2 kB / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.633e-05/0.005649, allocations: 59.34 kB / 277.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.068e-05/0.00566, allocations: 4 kB / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.005691, allocations: 55.38 kB / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.005692, allocations: 0 / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of Templates: time 0.001738/0.00743, allocations: 401.7 kB / 277.6 MB, free: 12.61 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.5138633591122925]