Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.0008503/0.0008503, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.001014/0.001014, allocations: 166.6 kB / 24.99 MB, free: 8.789 MB / 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 1.063/1.063, allocations: 177.1 MB / 205.3 MB, free: 5.613 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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 273 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.624e-05, allocations: 2.312 kB / 273 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002185/0.002211, allocations: 1.493 MB / 274.5 MB, free: 344 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001916/0.002402, allocations: 27.91 kB / 274.6 MB, free: 316 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.635e-05/0.002469, allocations: 7.938 kB / 274.6 MB, free: 308 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.002495, allocations: 0 / 274.6 MB, free: 308 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.781e-05/0.002533, allocations: 3.938 kB / 274.6 MB, free: 304 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.002768, allocations: 31.91 kB / 274.6 MB, free: 272 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.133e-05/0.002849, allocations: 31.86 kB / 274.6 MB, free: 240 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.002953, allocations: 3.984 kB / 274.6 MB, free: 236 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.985e-05/0.003013, allocations: 19.98 kB / 274.7 MB, free: 216 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.192e-05/0.003054, allocations: 7.984 kB / 274.7 MB, free: 208 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.003079, allocations: 0 / 274.7 MB, free: 208 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-06/0.003087, allocations: 4 kB / 274.7 MB, free: 204 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.45e-05/0.003112, allocations: 7.938 kB / 274.7 MB, free: 196 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.003141, allocations: 7.984 kB / 274.7 MB, free: 188 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.799e-05/0.003229, allocations: 27.91 kB / 274.7 MB, free: 160 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003231, allocations: 0 / 274.7 MB, free: 160 kB / 250.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003232, allocations: 4 kB / 274.7 MB, free: 156 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.003236, allocations: 0 / 274.7 MB, free: 156 kB / 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.0003581/0.003594, allocations: 368.5 kB / 275.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.003634, allocations: 12.03 kB / 275.1 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.00368, allocations: 8.891 kB / 275.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.00383, allocations: 116.6 kB / 275.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.003849, allocations: 4.375 kB / 275.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.00386, allocations: 4.375 kB / 275.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.00407, allocations: 118.2 kB / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.004078, allocations: 192 / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.004086, allocations: 384 / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.004094, allocations: 384 / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.724e-05/0.004121, allocations: 15.86 kB / 275.4 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.142e-05/0.004212, allocations: 124.5 kB / 275.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.255e-05/0.004275, allocations: 39.06 kB / 275.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.004312, allocations: 23.73 kB / 275.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-06/0.00432, allocations: 0 / 275.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.004342, allocations: 37.39 kB / 275.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.02e-07/0.004343, allocations: 4 kB / 275.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001711/0.004514, allocations: 57.56 kB / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.004578, allocations: 55.41 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.004681, allocations: 165.9 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.004696, allocations: 29.7 kB / 275.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.00475, allocations: 130.9 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.004762, allocations: 0 / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.004787, allocations: 19.38 kB / 276 MB, free: 14.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.004936, allocations: 0.4884 MB / 276.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.104e-05/0.004947, allocations: 4 kB / 276.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-06/0.004953, allocations: 4.25 kB / 276.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.298e-05/0.004976, allocations: 15.62 kB / 276.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.004979, allocations: 4 kB / 276.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.66e-05/0.005016, allocations: 41.66 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.005028, allocations: 4 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.005033, allocations: 3.984 kB / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.005047, allocations: 4 kB / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.234e-05/0.005099, allocations: 0 / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.005106, allocations: 0 / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.084e-05/0.005117, allocations: 12.03 kB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-06/0.00512, allocations: 0 / 276.6 MB, free: 14.05 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 7.35e-05/0.005194, allocations: 152.6 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.005235, allocations: 49.62 kB / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.005261, allocations: 8 kB / 276.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.005262, allocations: 4 kB / 276.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.005265, allocations: 0 / 276.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.00527, allocations: 3.938 kB / 276.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.56e-05/0.005326, allocations: 116.6 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.005326, allocations: 0 / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.005358, allocations: 8 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.91e-07/0.005359, allocations: 4 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.005367, allocations: 7.938 kB / 276.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.005368, allocations: 3.984 kB / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.005369, allocations: 0 / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.326e-05/0.005442, allocations: 88.31 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-06/0.00545, allocations: 4 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.005461, allocations: 4 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.073e-05/0.005472, allocations: 0 / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-06/0.005475, allocations: 0 / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.005479, allocations: 4 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.052e-05/0.005519, allocations: 139.2 kB / 277.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005519, allocations: 0 / 277.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001155/0.005635, allocations: 4 kB / 277.2 MB, free: 13.38 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.865e-05/0.005724, allocations: 99.19 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.143e-05/0.005805, allocations: 23.67 kB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.005807, allocations: 0 / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-07/0.005807, allocations: 0 / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.005998, allocations: 13.62 kB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002143/0.006212, allocations: 124.9 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.597e-05/0.006248, allocations: 63.34 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.422e-05/0.006263, allocations: 144 / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.006287, allocations: 12.5 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of SimCode: time 3.81e-07/0.006288, allocations: 0 / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of Templates: time 0.0019/0.008188, allocations: 452.4 kB / 278 MB, free: 12.55 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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.9398833599407226]