Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.001919/0.001919, allocations: 89.53 kB / 20.69 MB, free: 1.02 MB / 14.72 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.002627/0.002627, allocations: 157.5 kB / 23.95 MB, free: 4.152 MB / 14.72 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.536/1.536, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.833e-05, allocations: 2.281 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003882/0.00391, allocations: 1.483 MB / 326.5 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004252/0.004335, allocations: 100.1 kB / 326.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.156e-05/0.004427, allocations: 4.875 kB / 326.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.403e-05/0.004461, allocations: 0.75 kB / 326.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.677e-05/0.004528, allocations: 9 kB / 326.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.00486, allocations: 23.97 kB / 326.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.004986, allocations: 20.16 kB / 326.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.005132, allocations: 13.48 kB / 326.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.286e-05/0.005205, allocations: 20.52 kB / 326.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.849e-05/0.005264, allocations: 9.297 kB / 326.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.005287, allocations: 2.438 kB / 326.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/0.005299, allocations: 2.531 kB / 326.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.005324, allocations: 6 kB / 326.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.551e-05/0.00537, allocations: 7.672 kB / 326.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.005492, allocations: 28.52 kB / 326.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.005496, allocations: 0 / 326.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.005497, allocations: 0 / 326.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.005503, allocations: 1.25 kB / 326.8 MB, free: 15.33 MB / 302.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.0005733/0.006076, allocations: 272.9 kB / 327 MB, free: 15.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.006126, allocations: 13.17 kB / 327 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.006176, allocations: 8.125 kB / 327 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.006489, allocations: 115.3 kB / 327.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.006504, allocations: 5.156 kB / 327.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.006518, allocations: 3.391 kB / 327.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000416/0.006934, allocations: 114.3 kB / 327.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.006948, allocations: 4.125 kB / 327.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.006958, allocations: 384 / 327.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.006964, allocations: 1.312 kB / 327.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.007084, allocations: 26.12 kB / 327.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.007255, allocations: 107.9 kB / 327.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.007472, allocations: 52 kB / 327.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.893e-05/0.007561, allocations: 21.16 kB / 327.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.007583, allocations: 5.734 kB / 327.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.007622, allocations: 37.44 kB / 327.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.007624, allocations: 3.938 kB / 327.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003014/0.007925, allocations: 66.53 kB / 327.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/0.008001, allocations: 57.56 kB / 327.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.008121, allocations: 108.7 kB / 327.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.008143, allocations: 29.64 kB / 327.8 MB, free: 14.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.008207, allocations: 86.81 kB / 327.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.00821, allocations: 0 / 327.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.008247, allocations: 11.5 kB / 327.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.008429, allocations: 316.6 kB / 328.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.879e-06/0.008434, allocations: 1.062 kB / 328.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-06/0.00844, allocations: 0.75 kB / 328.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.115e-05/0.008491, allocations: 76.34 kB / 328.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001499/0.008641, allocations: 79.22 kB / 328.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001013/0.008742, allocations: 29.45 kB / 328.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.795e-05/0.0088, allocations: 81.22 kB / 328.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.627e-05/0.008846, allocations: 77.3 kB / 328.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/0.009007, allocations: 160.7 kB / 328.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.671e-05/0.009054, allocations: 76.98 kB / 328.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000202/0.009256, allocations: 160.7 kB / 328.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.009382, allocations: 80.28 kB / 329 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.009508, allocations: 76.22 kB / 329.1 MB, free: 13.06 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001728/0.009681, allocations: 188.5 kB / 329.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.009854, allocations: 61.69 kB / 329.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.009903, allocations: 10.06 kB / 329.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.009907, allocations: 4.547 kB / 329.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.009915, allocations: 1.031 kB / 329.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.009923, allocations: 4.547 kB / 329.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.01005, allocations: 103.3 kB / 329.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.01005, allocations: 4.75 kB / 329.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.01016, allocations: 8.016 kB / 329.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.01017, allocations: 1.156 kB / 329.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.01018, allocations: 0.8906 kB / 329.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.01018, allocations: 1.312 kB / 329.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01018, allocations: 256 / 329.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.01041, allocations: 88.61 kB / 329.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.01042, allocations: 7.438 kB / 329.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.01044, allocations: 5.344 kB / 329.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.546e-05/0.01049, allocations: 6.969 kB / 329.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-06/0.01049, allocations: 0 / 329.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.0105, allocations: 5.531 kB / 329.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.896e-05/0.01057, allocations: 81.72 kB / 329.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01057, allocations: 1.062 kB / 329.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004133/0.01098, allocations: 2.188 kB / 329.6 MB, free: 12.51 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0001466/0.01113, allocations: 101.5 kB / 329.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.01125, allocations: 13.05 kB / 329.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.01126, allocations: 0 / 329.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.01126, allocations: 7.938 kB / 329.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.01164, allocations: 24.34 kB / 329.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.012, allocations: 116.3 kB / 329.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.767e-05/0.01208, allocations: 62.95 kB / 330 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.409e-05/0.01209, allocations: 0.7031 kB / 330 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.01213, allocations: 12.22 kB / 330 MB, free: 12.21 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.01213, allocations: 0 / 330 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Templates: time 0.003323/0.01545, allocations: 284.6 kB / 330.3 MB, free: 12.14 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.394105419516563]