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.001911/0.001911, allocations: 95.86 kB / 20.96 MB, free: 3.461 MB / 18.57 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.001942/0.001942, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 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.522/1.522, allocations: 173.4 MB / 200.8 MB, free: 9.32 MB / 186.7 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 5.12e-06/5.12e-06, allocations: 4 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.407e-05/3.919e-05, allocations: 2.312 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.0032/0.003239, allocations: 1.464 MB / 268.8 MB, free: 5.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000229/0.003468, allocations: 31.84 kB / 268.8 MB, free: 5.219 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.727e-05/0.003535, allocations: 4 kB / 268.8 MB, free: 5.215 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.003563, allocations: 3.938 kB / 268.8 MB, free: 5.211 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.386e-05/0.003617, allocations: 3.938 kB / 268.8 MB, free: 5.207 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.003878, allocations: 27.84 kB / 268.9 MB, free: 5.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.908e-05/0.003977, allocations: 23.92 kB / 268.9 MB, free: 5.156 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.693e-05/0.004074, allocations: 15.97 kB / 268.9 MB, free: 5.141 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.373e-05/0.004138, allocations: 12 kB / 268.9 MB, free: 5.129 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.924e-05/0.004187, allocations: 15.92 kB / 268.9 MB, free: 5.113 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.004206, allocations: 0 / 268.9 MB, free: 5.113 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.004218, allocations: 8 kB / 268.9 MB, free: 5.105 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.004234, allocations: 0 / 268.9 MB, free: 5.105 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.155e-05/0.004285, allocations: 19.91 kB / 269 MB, free: 5.086 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.004397, allocations: 23.97 kB / 269 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.004399, allocations: 0 / 269 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.0044, allocations: 0 / 269 MB, free: 5.062 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.004404, allocations: 0 / 269 MB, free: 5.062 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.0005603/0.004964, allocations: 376.2 kB / 269.4 MB, free: 4.656 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.005005, allocations: 8.922 kB / 269.4 MB, free: 4.648 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.005051, allocations: 4.938 kB / 269.4 MB, free: 4.645 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.005302, allocations: 140.4 kB / 269.5 MB, free: 4.48 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.005324, allocations: 384 / 269.5 MB, free: 4.48 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.005334, allocations: 4.375 kB / 269.5 MB, free: 4.477 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.00569, allocations: 121.5 kB / 269.6 MB, free: 4.344 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.0057, allocations: 192 / 269.6 MB, free: 4.344 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.005709, allocations: 384 / 269.6 MB, free: 4.344 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.005714, allocations: 384 / 269.6 MB, free: 4.344 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.00582, allocations: 23.92 kB / 269.7 MB, free: 4.32 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.005976, allocations: 116.6 kB / 269.8 MB, free: 4.172 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.00616, allocations: 66.95 kB / 269.8 MB, free: 4.094 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.952e-05/0.006259, allocations: 23.72 kB / 269.9 MB, free: 4.066 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.006276, allocations: 4.031 kB / 269.9 MB, free: 4.062 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.006317, allocations: 37.39 kB / 269.9 MB, free: 4.016 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.006318, allocations: 0 / 269.9 MB, free: 4.016 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002867/0.006605, allocations: 73.62 kB / 270 MB, free: 3.938 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.006673, allocations: 55.34 kB / 270 MB, free: 3.871 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.00682, allocations: 173.9 kB / 270.2 MB, free: 3.684 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.006841, allocations: 25.7 kB / 270.2 MB, free: 3.652 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/0.006919, allocations: 134.9 kB / 270.3 MB, free: 3.516 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/0.00693, allocations: 0 / 270.3 MB, free: 3.516 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.006972, allocations: 23.38 kB / 270.4 MB, free: 3.484 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000284/0.007256, allocations: 492.1 kB / 270.9 MB, free: 2.992 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.007272, allocations: 8 kB / 270.9 MB, free: 2.984 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-06/0.007281, allocations: 3.984 kB / 270.9 MB, free: 2.98 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.958e-05/0.00731, allocations: 11.69 kB / 270.9 MB, free: 2.965 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.007312, allocations: 0 / 270.9 MB, free: 2.965 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.834e-05/0.00738, allocations: 45.64 kB / 270.9 MB, free: 2.914 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.007395, allocations: 4.094 kB / 270.9 MB, free: 2.91 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.007399, allocations: 4 kB / 270.9 MB, free: 2.906 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.007413, allocations: 0 / 270.9 MB, free: 2.906 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.526e-05/0.007468, allocations: 4 kB / 270.9 MB, free: 2.902 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.007473, allocations: 0 / 270.9 MB, free: 2.902 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.364e-05/0.007486, allocations: 7.875 kB / 270.9 MB, free: 2.895 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.007492, allocations: 3.984 kB / 270.9 MB, free: 2.891 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 0.0001241/0.007616, allocations: 160.6 kB / 271.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.007749, allocations: 57.64 kB / 271.2 MB, free: 2.66 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.007787, allocations: 8 kB / 271.2 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.007789, allocations: 0 / 271.2 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.007792, allocations: 4 kB / 271.2 MB, free: 2.641 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.007799, allocations: 11.92 kB / 271.2 MB, free: 2.629 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.007917, allocations: 116.6 kB / 271.3 MB, free: 2.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.007918, allocations: 256 / 271.3 MB, free: 2.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.039e-05/0.007979, allocations: 19.92 kB / 271.3 MB, free: 2.461 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.00798, allocations: 0 / 271.3 MB, free: 2.461 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.007987, allocations: 0 / 271.3 MB, free: 2.461 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.007988, allocations: 0 / 271.3 MB, free: 2.461 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.007989, allocations: 0 / 271.3 MB, free: 2.461 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.008185, allocations: 100.4 kB / 271.4 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.008198, allocations: 7.953 kB / 271.4 MB, free: 2.332 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.008219, allocations: 8 kB / 271.4 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.43e-05/0.008243, allocations: 0 / 271.4 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-06/0.008246, allocations: 0 / 271.4 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.008254, allocations: 4 kB / 271.4 MB, free: 2.32 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.431e-05/0.008338, allocations: 131.2 kB / 271.6 MB, free: 2.191 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008338, allocations: 0 / 271.6 MB, free: 2.191 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001731/0.008511, allocations: 4 kB / 271.6 MB, free: 2.188 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 0.0001446/0.008656, allocations: 103.4 kB / 271.7 MB, free: 2.078 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.008793, allocations: 31.66 kB / 271.7 MB, free: 2.043 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.008795, allocations: 4.062 kB / 271.7 MB, free: 2.039 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.008796, allocations: 0 / 271.7 MB, free: 2.039 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.009096, allocations: 25.42 kB / 271.7 MB, free: 2.012 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.009436, allocations: 124.8 kB / 271.8 MB, free: 1.863 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.462e-05/0.009511, allocations: 71.19 kB / 271.9 MB, free: 1.773 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.151e-05/0.009532, allocations: 3.859 kB / 271.9 MB, free: 1.77 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.009572, allocations: 20.42 kB / 271.9 MB, free: 1.75 MB / 250.7 MB Notification: Performance of SimCode: time 4.01e-07/0.009572, allocations: 0 / 271.9 MB, free: 1.75 MB / 250.7 MB Notification: Performance of Templates: time 0.003293/0.01287, allocations: 456.7 kB / 272.4 MB, free: 1.316 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/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: 4.419069379917346]