Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.00173/0.00173, allocations: 108.6 kB / 21.18 MB, free: 0.7812 MB / 14.72 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.001958/0.001958, allocations: 189.9 kB / 24.47 MB, free: 4.203 MB / 14.72 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 1.527/1.527, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 51.92 kB / 371.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2494, allocations: 52.19 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002806/0.2522, allocations: 1.48 MB / 425.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001752/0.2524, allocations: 35.84 kB / 425.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.588e-05/0.2525, allocations: 0 / 425.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.2525, allocations: 3.938 kB / 425.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.352e-05/0.2525, allocations: 3.938 kB / 425.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.2528, allocations: 23.97 kB / 425.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.665e-05/0.2529, allocations: 31.86 kB / 425.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.064e-05/0.253, allocations: 8 kB / 425.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.077e-05/0.253, allocations: 11.98 kB / 425.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.064e-05/0.253, allocations: 11.94 kB / 425.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.253, allocations: 7.984 kB / 425.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-06/0.2531, allocations: 7.938 kB / 425.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.2531, allocations: 0 / 425.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.2531, allocations: 19.92 kB / 425.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.828e-05/0.2532, allocations: 25.45 kB / 425.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2532, allocations: 0 / 425.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.2532, allocations: 3.938 kB / 425.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.2532, allocations: 0 / 425.6 MB, free: 12.98 MB / 334.1 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.000434/0.2536, allocations: 274 kB / 425.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.2537, allocations: 8.031 kB / 425.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.2537, allocations: 8.938 kB / 425.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.2539, allocations: 118.5 kB / 426 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.2539, allocations: 8.375 kB / 426 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.2539, allocations: 8.312 kB / 426 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/0.2543, allocations: 119.8 kB / 426.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.2543, allocations: 4.172 kB / 426.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.2543, allocations: 7.938 kB / 426.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.2543, allocations: 0 / 426.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.2544, allocations: 27.97 kB / 426.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.2546, allocations: 124.8 kB / 426.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.2548, allocations: 58.48 kB / 426.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.015e-05/0.2548, allocations: 24.92 kB / 426.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.2549, allocations: 0 / 426.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.2549, allocations: 34.56 kB / 426.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.2549, allocations: 0 / 426.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002882/0.2552, allocations: 85.55 kB / 426.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.2552, allocations: 55.41 kB / 426.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.2553, allocations: 101.8 kB / 426.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.2553, allocations: 33.7 kB / 426.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.2554, allocations: 84.08 kB / 426.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.2554, allocations: 3.984 kB / 426.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.2554, allocations: 25.66 kB / 426.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2556, allocations: 318.8 kB / 427.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.2556, allocations: 4 kB / 427.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.491e-05/0.2556, allocations: 31.42 kB / 427.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.352e-05/0.2557, allocations: 39.38 kB / 427.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2557, allocations: 0 / 427.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.759e-05/0.2558, allocations: 57.62 kB / 427.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.2558, allocations: 8 kB / 427.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.2558, allocations: 3.938 kB / 427.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.2558, allocations: 0 / 427.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/0.2559, allocations: 8 kB / 427.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.2559, allocations: 8.062 kB / 427.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.83e-05/0.2559, allocations: 15.89 kB / 427.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.2559, allocations: 0 / 427.2 MB, free: 11.09 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (5): * Single equations (assignments): 5 * 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 0.0001003/0.256, allocations: 113.8 kB / 427.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.2562, allocations: 65.67 kB / 427.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.2562, allocations: 11.94 kB / 427.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2562, allocations: 0 / 427.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2562, allocations: 0 / 427.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.2562, allocations: 0 / 427.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.2563, allocations: 133.1 kB / 427.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2563, allocations: 0 / 427.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.014e-05/0.2564, allocations: 12 kB / 427.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2564, allocations: 0 / 427.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.2564, allocations: 12.11 kB / 427.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.2564, allocations: 0 / 427.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2564, allocations: 3.984 kB / 427.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.2566, allocations: 93.05 kB / 427.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-06/0.2566, allocations: 4 kB / 427.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.2566, allocations: 7.938 kB / 427.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.244e-05/0.2566, allocations: 3.984 kB / 427.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-06/0.2566, allocations: 4 kB / 427.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.2566, allocations: 3.938 kB / 427.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.711e-05/0.2567, allocations: 83.28 kB / 427.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2567, allocations: 0 / 427.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001897/0.2569, allocations: 4 kB / 427.8 MB, free: 10.46 MB / 334.1 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 0.000113/0.257, allocations: 103.2 kB / 427.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.2571, allocations: 31.91 kB / 427.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2571, allocations: 0 / 427.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.2571, allocations: 0 / 427.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.2574, allocations: 31.91 kB / 427.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.2577, allocations: 147.3 kB / 428.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.2581, allocations: 0.6883 MB / 428.8 MB, free: 9.398 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.2581, allocations: 15.69 kB / 428.8 MB, free: 9.383 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2581, allocations: 0 / 428.8 MB, free: 9.383 MB / 334.1 MB Notification: Performance of Templates: time 0.00207/0.2602, allocations: 0.6209 MB / 429.4 MB, free: 8.766 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.844571517081931]