Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001473/0.001473, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00211/0.003583, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001303/0.001303, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001807/0.00311, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.193/1.193, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1392/1.332, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.186e-05/3.354e-05, allocations: 10.11 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003138/0.003172, allocations: 1.564 MB / 246.3 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001198/0.003292, allocations: 35.84 kB / 246.3 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.003354, allocations: 0 / 246.3 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.003383, allocations: 7.922 kB / 246.3 MB, free: 12.6 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.189e-05/0.003415, allocations: 3.938 kB / 246.3 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.003584, allocations: 23.95 kB / 246.3 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.003686, allocations: 27.88 kB / 246.4 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.003788, allocations: 15.97 kB / 246.4 MB, free: 12.53 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.918e-05/0.003877, allocations: 23.92 kB / 246.4 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.721e-05/0.003934, allocations: 11.98 kB / 246.4 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.003963, allocations: 0 / 246.4 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.003975, allocations: 4 kB / 246.4 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.07e-05/0.004006, allocations: 7.938 kB / 246.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.004032, allocations: 4 kB / 246.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.004146, allocations: 23.86 kB / 246.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.387e-05/0.00416, allocations: 0 / 246.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.004161, allocations: 0 / 246.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.004173, allocations: 0 / 246.5 MB, free: 12.45 MB / 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.0004129/0.004586, allocations: 244.6 kB / 246.7 MB, free: 12.19 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.004629, allocations: 12.03 kB / 246.7 MB, free: 12.18 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.004667, allocations: 12.92 kB / 246.7 MB, free: 12.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.004909, allocations: 117.7 kB / 246.8 MB, free: 12.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.004934, allocations: 4.375 kB / 246.8 MB, free: 12.02 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.004949, allocations: 4.312 kB / 246.9 MB, free: 12.02 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.005162, allocations: 100.6 kB / 247 MB, free: 11.9 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.005172, allocations: 192 / 247 MB, free: 11.9 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.00518, allocations: 384 / 247 MB, free: 11.9 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.005189, allocations: 4.375 kB / 247 MB, free: 11.9 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.645e-05/0.005216, allocations: 11.94 kB / 247 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.302e-05/0.005299, allocations: 61.03 kB / 247 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.297e-05/0.005372, allocations: 26.56 kB / 247.1 MB, free: 11.78 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.112e-05/0.005403, allocations: 24.78 kB / 247.1 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.00541, allocations: 0 / 247.1 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.005436, allocations: 30.56 kB / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.005437, allocations: 0 / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001302/0.005567, allocations: 45.69 kB / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.005618, allocations: 55.41 kB / 247.2 MB, free: 11.59 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.222e-05/0.00569, allocations: 118.7 kB / 247.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.005701, allocations: 29.64 kB / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.423e-05/0.005725, allocations: 80.14 kB / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.285e-05/0.005738, allocations: 0 / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.005766, allocations: 17.72 kB / 247.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.005867, allocations: 326.7 kB / 247.8 MB, free: 11 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-06/0.005873, allocations: 0 / 247.8 MB, free: 11 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-06/0.00588, allocations: 3.984 kB / 247.8 MB, free: 10.99 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.21e-05/0.005903, allocations: 8.859 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.005905, allocations: 0 / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.053e-05/0.005956, allocations: 37.77 kB / 247.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.005969, allocations: 4 kB / 247.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.005973, allocations: 0 / 247.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.005986, allocations: 0 / 247.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.768e-05/0.006034, allocations: 7.984 kB / 247.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.006037, allocations: 3.938 kB / 247.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.157e-05/0.006049, allocations: 0 / 247.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-06/0.006051, allocations: 4 kB / 247.8 MB, free: 10.92 MB / 250.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.15e-05/0.006113, allocations: 109.8 kB / 247.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.006157, allocations: 49.86 kB / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.006181, allocations: 8.031 kB / 248 MB, free: 10.74 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.006182, allocations: 0 / 248 MB, free: 10.74 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.006184, allocations: 0 / 248 MB, free: 10.74 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.006187, allocations: 0 / 248 MB, free: 10.74 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.329e-05/0.006251, allocations: 77.78 kB / 248.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.006251, allocations: 0 / 248.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.006301, allocations: 8 kB / 248.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.00631, allocations: 4 kB / 248.1 MB, free: 10.63 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.006312, allocations: 0 / 248.1 MB, free: 10.63 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.006319, allocations: 7.984 kB / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.006321, allocations: 3.984 kB / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.006324, allocations: 12.12 kB / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.006e-05/0.006374, allocations: 53.81 kB / 248.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.00639, allocations: 8 kB / 248.2 MB, free: 10.53 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.533e-05/0.006406, allocations: 0 / 248.2 MB, free: 10.53 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-06/0.006409, allocations: 0 / 248.2 MB, free: 10.53 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.006413, allocations: 3.984 kB / 248.2 MB, free: 10.53 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.63e-05/0.00643, allocations: 12.84 kB / 248.2 MB, free: 10.51 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00643, allocations: 4 kB / 248.2 MB, free: 10.51 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001588/0.006589, allocations: 4 kB / 248.2 MB, free: 10.5 MB / 250.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 9.173e-05/0.00668, allocations: 80.42 kB / 248.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.799e-05/0.006758, allocations: 16.84 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.006762, allocations: 3.938 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.41e-07/0.006763, allocations: 4 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.00695, allocations: 53.81 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/0.007393, allocations: 115 kB / 248.5 MB, free: 10.19 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.78e-05/0.007431, allocations: 63.34 kB / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.477e-05/0.007445, allocations: 0 / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.007495, allocations: 51.38 kB / 248.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of SimCode: time 7.61e-07/0.007496, allocations: 8.094 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of Templates: time 0.002482/0.009978, allocations: 481.1 kB / 249.1 MB, free: 9.594 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6959450067952275]