Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.0008611/0.0008611, allocations: 88.28 kB / 21.44 MB, free: 3.121 MB / 18.57 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.003108/0.003108, allocations: 154.3 kB / 24.69 MB, free: 8.914 MB / 18.57 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 0.817/0.817, allocations: 177 MB / 204.9 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.143e-06/1.143e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286e-05/1.401e-05, allocations: 2.984 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.001576/0.00159, allocations: 1.48 MB / 327.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001391/0.001729, allocations: 31.91 kB / 327.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.001775, allocations: 3.938 kB / 327.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.272e-05/0.001798, allocations: 0 / 327.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.354e-05/0.001831, allocations: 7.875 kB / 327.3 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.002014, allocations: 23.91 kB / 327.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.72e-05/0.002081, allocations: 31.92 kB / 327.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.51e-05/0.002156, allocations: 11.98 kB / 327.4 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.746e-05/0.002194, allocations: 15.98 kB / 327.4 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.192e-05/0.002226, allocations: 11.92 kB / 327.4 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.002247, allocations: 8 kB / 327.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-06/0.002254, allocations: 4 kB / 327.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.002268, allocations: 0 / 327.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.886e-05/0.002296, allocations: 11.98 kB / 327.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.435e-05/0.002371, allocations: 31.89 kB / 327.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.433e-06/0.002372, allocations: 0 / 327.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.002373, allocations: 0 / 327.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.002376, allocations: 3.938 kB / 327.5 MB, free: 13.7 MB / 298.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.0002716/0.002648, allocations: 270.3 kB / 327.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.00268, allocations: 11.98 kB / 327.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.42e-05/0.002705, allocations: 8.891 kB / 327.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.002838, allocations: 113.8 kB / 327.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.002855, allocations: 8.375 kB / 327.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.002861, allocations: 384 / 327.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.003068, allocations: 127.8 kB / 328 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.003075, allocations: 192 / 328 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.003082, allocations: 4.312 kB / 328 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.003085, allocations: 384 / 328 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.139e-05/0.003147, allocations: 35.84 kB / 328 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.778e-05/0.003225, allocations: 109.2 kB / 328.1 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.214e-05/0.003317, allocations: 54.55 kB / 328.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.212e-05/0.003359, allocations: 24.92 kB / 328.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-06/0.003366, allocations: 0 / 328.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.003382, allocations: 34.56 kB / 328.2 MB, free: 12.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.31e-07/0.003382, allocations: 4 kB / 328.2 MB, free: 12.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001592/0.003541, allocations: 81.55 kB / 328.3 MB, free: 12.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.003584, allocations: 63.39 kB / 328.4 MB, free: 12.63 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.196e-05/0.003636, allocations: 105.8 kB / 328.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.003645, allocations: 25.7 kB / 328.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.699e-05/0.003672, allocations: 88.14 kB / 328.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.858e-06/0.003682, allocations: 3.984 kB / 328.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.003702, allocations: 13.72 kB / 328.6 MB, free: 12.37 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.39e-05/0.003776, allocations: 310.8 kB / 328.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.428e-06/0.003785, allocations: 8 kB / 328.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.618e-06/0.00379, allocations: 0 / 328.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.708e-05/0.003807, allocations: 8.859 kB / 328.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.003809, allocations: 0 / 328.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.734e-05/0.003846, allocations: 49.58 kB / 329 MB, free: 11.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.003858, allocations: 12.09 kB / 329 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.003862, allocations: 0 / 329 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.003871, allocations: 0 / 329 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.918e-05/0.00391, allocations: 4 kB / 329 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.003915, allocations: 3.984 kB / 329 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.155e-06/0.003923, allocations: 3.938 kB / 329 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-06/0.003926, allocations: 3.938 kB / 329 MB, free: 11.96 MB / 298.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.41e-05/0.00398, allocations: 113.8 kB / 329.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.907e-05/0.004049, allocations: 65.59 kB / 329.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.932e-05/0.004068, allocations: 12 kB / 329.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.004069, allocations: 4 kB / 329.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.004073, allocations: 0 / 329.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.004076, allocations: 3.938 kB / 329.2 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.055e-05/0.004116, allocations: 101.3 kB / 329.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.004118, allocations: 0 / 329.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.761e-05/0.004145, allocations: 8 kB / 329.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.004146, allocations: 0 / 329.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.004153, allocations: 4 kB / 329.3 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.004154, allocations: 0 / 329.3 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.004156, allocations: 4 kB / 329.3 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.594e-05/0.004242, allocations: 101.2 kB / 329.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-06/0.004247, allocations: 4 kB / 329.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.004258, allocations: 8.297 kB / 329.4 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.425e-05/0.004273, allocations: 11.97 kB / 329.5 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-06/0.004275, allocations: 3.938 kB / 329.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.004278, allocations: 4 kB / 329.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.631e-05/0.004304, allocations: 83.28 kB / 329.5 MB, free: 11.37 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004304, allocations: 0 / 329.5 MB, free: 11.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001109/0.004415, allocations: 4 kB / 329.5 MB, free: 11.36 MB / 298.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.887e-05/0.004474, allocations: 95.19 kB / 329.6 MB, free: 11.26 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.259e-05/0.004547, allocations: 31.97 kB / 329.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.004548, allocations: 0 / 329.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.004549, allocations: 0 / 329.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.00472, allocations: 24.02 kB / 329.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001938/0.004913, allocations: 146.4 kB / 329.8 MB, free: 11.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.262e-05/0.004946, allocations: 63.34 kB / 329.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.908e-05/0.004965, allocations: 12.5 kB / 329.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.004966, allocations: 0 / 329.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of Templates: time 0.001514/0.006479, allocations: 0.6162 MB / 330.5 MB, free: 10.33 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 3.9888775190338492]