Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.001498/0.001498, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001905/0.001905, allocations: 171.8 kB / 24.82 MB, free: 9.254 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 1.049/1.049, allocations: 177 MB / 205.1 MB, free: 5.461 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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 273.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.785e-05, allocations: 4.984 kB / 273.3 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002614/0.002642, allocations: 1.513 MB / 274.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001818/0.002824, allocations: 31.91 kB / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.002885, allocations: 0 / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/0.002912, allocations: 3.938 kB / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.645e-05/0.002958, allocations: 7.922 kB / 274.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.003181, allocations: 27.92 kB / 274.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.72e-05/0.003258, allocations: 35.84 kB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.78e-05/0.003346, allocations: 8 kB / 275 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.635e-05/0.003403, allocations: 11.98 kB / 275 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.818e-05/0.003441, allocations: 11.98 kB / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.00346, allocations: 4 kB / 275 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.064e-06/0.003467, allocations: 0 / 275 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.003487, allocations: 11.92 kB / 275 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.003509, allocations: 4 kB / 275 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.856e-05/0.003588, allocations: 19.92 kB / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.003589, allocations: 0 / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.003591, allocations: 4 kB / 275 MB, free: 15.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.003594, allocations: 0 / 275 MB, free: 15.49 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.0003056/0.0039, allocations: 372.6 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.003939, allocations: 11.98 kB / 275.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.003969, allocations: 16.83 kB / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.004088, allocations: 116.6 kB / 275.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.004105, allocations: 4.375 kB / 275.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.004113, allocations: 4.375 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.004279, allocations: 106.2 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.004285, allocations: 192 / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.004292, allocations: 384 / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.004297, allocations: 4.375 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.92e-05/0.004316, allocations: 11.86 kB / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.359e-05/0.0044, allocations: 101.2 kB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.834e-05/0.004458, allocations: 47.03 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.004478, allocations: 15.7 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.004486, allocations: 4 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.004507, allocations: 41.42 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.12e-07/0.004507, allocations: 0 / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001046/0.004612, allocations: 49.64 kB / 275.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.00465, allocations: 55.39 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.441e-05/0.004714, allocations: 165.9 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.004725, allocations: 29.7 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.004759, allocations: 134.8 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.205e-06/0.004767, allocations: 0 / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/0.00479, allocations: 19.38 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.004897, allocations: 496.1 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.031e-06/0.004903, allocations: 4 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.004909, allocations: 4 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.68e-05/0.004925, allocations: 19.66 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004927, allocations: 0 / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.22e-05/0.004969, allocations: 45.59 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.00498, allocations: 7.125 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.004985, allocations: 0 / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.004995, allocations: 4 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.455e-05/0.005029, allocations: 0 / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.005032, allocations: 0 / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.086e-06/0.00504, allocations: 4.094 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-06/0.005043, allocations: 7.938 kB / 276.9 MB, free: 13.42 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.934e-05/0.005102, allocations: 152.6 kB / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.005138, allocations: 49.62 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.013e-05/0.005158, allocations: 8 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.005161, allocations: 3.984 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-06/0.005163, allocations: 4 kB / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.005166, allocations: 0 / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.988e-05/0.005216, allocations: 97.2 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.005217, allocations: 4 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.005247, allocations: 11.98 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.005249, allocations: 0 / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-06/0.005253, allocations: 4 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.005254, allocations: 0 / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.005255, allocations: 0 / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.534e-05/0.0053, allocations: 72.28 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-06/0.005305, allocations: 0 / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.005316, allocations: 4 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.13e-05/0.005328, allocations: 7.984 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-06/0.00533, allocations: 4.188 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.005333, allocations: 4 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.461e-05/0.005367, allocations: 131.2 kB / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005367, allocations: 0 / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001062/0.005474, allocations: 0 / 277.4 MB, free: 12.81 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: 1 (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.92e-05/0.005563, allocations: 99.47 kB / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.846e-05/0.005621, allocations: 15.69 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.005623, allocations: 0 / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.005623, allocations: 0 / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.005788, allocations: 32.61 kB / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001959/0.005984, allocations: 132.8 kB / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.938e-05/0.006013, allocations: 59.34 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.541e-05/0.006029, allocations: 0 / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.006068, allocations: 70.2 kB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.006068, allocations: 4 kB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of Templates: time 0.001816/0.007884, allocations: 478.4 kB / 278.3 MB, free: 11.88 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/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.937077601905912]