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.001096/0.001096, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.001042/0.001042, allocations: 148.9 kB / 24.81 MB, free: 9.27 MB / 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 0.9546/0.9546, allocations: 173.3 MB / 201.4 MB, free: 9.23 MB / 186.7 MB " [Timeout remaining time 179] 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 8.52e-07/8.52e-07, allocations: 0 / 268.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148e-05/1.233e-05, allocations: 2.312 kB / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.001801/0.001814, allocations: 1.502 MB / 269.9 MB, free: 4.691 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001184/0.001932, allocations: 31.84 kB / 269.9 MB, free: 4.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/0.001969, allocations: 0 / 269.9 MB, free: 4.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.001984, allocations: 7.938 kB / 270 MB, free: 4.652 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.375e-05/0.002008, allocations: 4 kB / 270 MB, free: 4.648 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.002142, allocations: 27.84 kB / 270 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.006e-05/0.002192, allocations: 31.86 kB / 270 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.038e-05/0.002242, allocations: 11.97 kB / 270 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.002277, allocations: 15.98 kB / 270 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.199e-05/0.002299, allocations: 8 kB / 270.1 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.888e-06/0.002309, allocations: 0 / 270.1 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.611e-06/0.002314, allocations: 4 kB / 270.1 MB, free: 4.551 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.002325, allocations: 7.938 kB / 270.1 MB, free: 4.543 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.613e-05/0.002341, allocations: 7.984 kB / 270.1 MB, free: 4.535 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 4.981e-05/0.002391, allocations: 27.91 kB / 270.1 MB, free: 4.508 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.112e-06/0.002392, allocations: 4 kB / 270.1 MB, free: 4.504 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.002393, allocations: 0 / 270.1 MB, free: 4.504 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.004e-06/0.002395, allocations: 0 / 270.1 MB, free: 4.504 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.0002045/0.002599, allocations: 368.6 kB / 270.5 MB, free: 4.105 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.779e-05/0.002627, allocations: 12.92 kB / 270.5 MB, free: 4.094 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.604e-05/0.002643, allocations: 4.938 kB / 270.5 MB, free: 4.09 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.69e-05/0.00272, allocations: 124.5 kB / 270.6 MB, free: 3.941 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.002729, allocations: 4.375 kB / 270.6 MB, free: 3.938 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-06/0.002734, allocations: 384 / 270.6 MB, free: 3.938 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.00286, allocations: 110.2 kB / 270.7 MB, free: 3.812 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.596e-06/0.002864, allocations: 192 / 270.7 MB, free: 3.812 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-06/0.002867, allocations: 384 / 270.7 MB, free: 3.812 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.926e-06/0.00287, allocations: 384 / 270.7 MB, free: 3.812 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.495e-05/0.002885, allocations: 7.938 kB / 270.7 MB, free: 3.805 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.106e-05/0.002946, allocations: 105.2 kB / 270.8 MB, free: 3.676 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.095e-05/0.002987, allocations: 39.03 kB / 270.9 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.003005, allocations: 15.72 kB / 270.9 MB, free: 3.605 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-06/0.003011, allocations: 3.984 kB / 270.9 MB, free: 3.602 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.003034, allocations: 49.33 kB / 270.9 MB, free: 3.543 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 4.61e-07/0.003035, allocations: 0 / 270.9 MB, free: 3.543 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 6.553e-05/0.0031, allocations: 49.58 kB / 271 MB, free: 3.488 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.003126, allocations: 59.41 kB / 271 MB, free: 3.418 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.252e-05/0.003178, allocations: 161.9 kB / 271.2 MB, free: 3.242 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.535e-06/0.003186, allocations: 29.7 kB / 271.2 MB, free: 3.207 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.025e-05/0.003216, allocations: 130.9 kB / 271.4 MB, free: 3.074 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.23e-06/0.003221, allocations: 0 / 271.4 MB, free: 3.074 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.003242, allocations: 23.38 kB / 271.4 MB, free: 3.043 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.003347, allocations: 0.4883 MB / 271.9 MB, free: 2.543 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-06/0.00335, allocations: 0 / 271.9 MB, free: 2.543 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.017e-06/0.003354, allocations: 8 kB / 271.9 MB, free: 2.535 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.214e-05/0.003367, allocations: 11.69 kB / 271.9 MB, free: 2.52 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.003368, allocations: 0 / 271.9 MB, free: 2.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.001e-05/0.003398, allocations: 37.64 kB / 271.9 MB, free: 2.477 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.003407, allocations: 7.984 kB / 271.9 MB, free: 2.469 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-06/0.003409, allocations: 0 / 271.9 MB, free: 2.469 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-06/0.003414, allocations: 0 / 271.9 MB, free: 2.469 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.946e-05/0.003433, allocations: 4 kB / 271.9 MB, free: 2.465 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-06/0.003434, allocations: 0 / 271.9 MB, free: 2.465 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.234e-06/0.003442, allocations: 8.297 kB / 271.9 MB, free: 2.457 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-06/0.003444, allocations: 3.938 kB / 271.9 MB, free: 2.453 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 5.511e-05/0.003499, allocations: 164.6 kB / 272.1 MB, free: 2.281 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.003531, allocations: 41.69 kB / 272.1 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.796e-05/0.003549, allocations: 8 kB / 272.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.52e-07/0.003549, allocations: 0 / 272.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.003551, allocations: 0 / 272.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.003553, allocations: 0 / 272.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.078e-05/0.003604, allocations: 109.2 kB / 272.3 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.003604, allocations: 3.938 kB / 272.3 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/0.003628, allocations: 15.94 kB / 272.3 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.41e-07/0.003629, allocations: 0 / 272.3 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-06/0.003631, allocations: 0 / 272.3 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.003632, allocations: 0 / 272.3 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.003634, allocations: 4 kB / 272.3 MB, free: 2.062 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.634e-05/0.00367, allocations: 72.38 kB / 272.4 MB, free: 1.969 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-06/0.003675, allocations: 3.953 kB / 272.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.224e-06/0.003683, allocations: 0 / 272.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.053e-05/0.003693, allocations: 4 kB / 272.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-06/0.003695, allocations: 0 / 272.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.003696, allocations: 0 / 272.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.503e-05/0.003731, allocations: 131.2 kB / 272.5 MB, free: 1.832 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003731, allocations: 0 / 272.5 MB, free: 1.832 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001059/0.003837, allocations: 4 kB / 272.5 MB, free: 1.828 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 5.581e-05/0.003893, allocations: 103.2 kB / 272.6 MB, free: 1.719 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.433e-05/0.003938, allocations: 19.67 kB / 272.6 MB, free: 1.695 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.51e-07/0.003938, allocations: 0 / 272.6 MB, free: 1.695 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.003939, allocations: 0 / 272.6 MB, free: 1.695 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001136/0.004052, allocations: 13.34 kB / 272.6 MB, free: 1.68 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001452/0.004198, allocations: 132.8 kB / 272.8 MB, free: 1.523 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.301e-05/0.004221, allocations: 55.36 kB / 272.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.795e-06/0.004228, allocations: 0 / 272.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.004265, allocations: 74.19 kB / 272.9 MB, free: 1.375 MB / 250.7 MB Notification: Performance of SimCode: time 3.51e-07/0.004265, allocations: 0 / 272.9 MB, free: 1.375 MB / 250.7 MB Notification: Performance of Templates: time 0.001433/0.005699, allocations: 493.5 kB / 273.4 MB, free: 0.9023 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","",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.541526138782501]