Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001294/0.001294, allocations: 115.5 kB / 21.18 MB, free: 0.5898 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.00144/0.00144, allocations: 210.8 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.444/1.444, allocations: 230.4 MB / 258.1 MB, free: 8.164 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 75.83 kB / 378.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2738, allocations: 53.31 MB / 432.1 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002853/0.2766, allocations: 1.477 MB / 433.5 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002075/0.2768, allocations: 35.84 kB / 433.6 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.746e-05/0.2769, allocations: 0 / 433.6 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.149e-05/0.2769, allocations: 7.938 kB / 433.6 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.537e-05/0.277, allocations: 3.938 kB / 433.6 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.2772, allocations: 23.97 kB / 433.6 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.2773, allocations: 31.86 kB / 433.6 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.2775, allocations: 11.98 kB / 433.6 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.112e-05/0.2775, allocations: 8 kB / 433.6 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.548e-05/0.2775, allocations: 19.91 kB / 433.7 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.2776, allocations: 0 / 433.7 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-06/0.2776, allocations: 4 kB / 433.7 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.2776, allocations: 3.938 kB / 433.7 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.99e-05/0.2776, allocations: 19.94 kB / 433.7 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.2777, allocations: 33.84 kB / 433.7 MB, free: 5.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2778, allocations: 0 / 433.7 MB, free: 5.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2778, allocations: 3.938 kB / 433.7 MB, free: 5.746 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.2778, allocations: 0 / 433.7 MB, free: 5.746 MB / 334.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.0005202/0.2783, allocations: 351.3 kB / 434.1 MB, free: 5.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.2783, allocations: 8.031 kB / 434.1 MB, free: 5.344 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.2784, allocations: 8.891 kB / 434.1 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.2786, allocations: 168.4 kB / 434.3 MB, free: 5.133 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.2787, allocations: 8.375 kB / 434.3 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.2787, allocations: 4.375 kB / 434.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.2791, allocations: 127.8 kB / 434.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2791, allocations: 192 / 434.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.2791, allocations: 7.922 kB / 434.4 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2791, allocations: 0 / 434.4 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.2792, allocations: 19.98 kB / 434.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/0.2794, allocations: 165.7 kB / 434.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.2796, allocations: 54.58 kB / 434.6 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.764e-05/0.2796, allocations: 28.83 kB / 434.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.2797, allocations: 0 / 434.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.2797, allocations: 30.56 kB / 434.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.2797, allocations: 0 / 434.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003121/0.28, allocations: 89.55 kB / 434.8 MB, free: 4.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.2801, allocations: 51.41 kB / 434.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.062e-05/0.2802, allocations: 109.8 kB / 434.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.2802, allocations: 25.7 kB / 435 MB, free: 4.309 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/0.2802, allocations: 88.14 kB / 435.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.2803, allocations: 3.984 kB / 435.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.2803, allocations: 17.72 kB / 435.1 MB, free: 4.191 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2804, allocations: 314.8 kB / 435.4 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.86e-05/0.2805, allocations: 12 kB / 435.4 MB, free: 3.863 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.794e-05/0.2805, allocations: 27.42 kB / 435.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.224e-05/0.2806, allocations: 43.31 kB / 435.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2806, allocations: 4 kB / 435.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.952e-05/0.2807, allocations: 61.58 kB / 435.5 MB, free: 3.699 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.2807, allocations: 4 kB / 435.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2807, allocations: 7.938 kB / 435.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.2807, allocations: 0 / 435.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.56e-05/0.2808, allocations: 8 kB / 435.5 MB, free: 3.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.2808, allocations: 0 / 435.5 MB, free: 3.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.08e-05/0.2808, allocations: 0 / 435.5 MB, free: 3.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-06/0.2808, allocations: 7.938 kB / 435.6 MB, free: 3.672 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (5): * Single equations (assignments): 5 * 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.0001084/0.2809, allocations: 125.9 kB / 435.7 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.2811, allocations: 61.67 kB / 435.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.2811, allocations: 11.84 kB / 435.7 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.2811, allocations: 3.938 kB / 435.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2811, allocations: 0 / 435.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2811, allocations: 0 / 435.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.2812, allocations: 161.6 kB / 435.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2812, allocations: 0 / 435.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.932e-05/0.2813, allocations: 8 kB / 435.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2813, allocations: 4 kB / 435.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.2813, allocations: 3.938 kB / 435.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2813, allocations: 0 / 435.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2813, allocations: 7.922 kB / 435.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.2815, allocations: 93.33 kB / 436 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.2816, allocations: 81.11 kB / 436.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.2816, allocations: 4.312 kB / 436.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.638e-05/0.2816, allocations: 7.984 kB / 436.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-06/0.2816, allocations: 4 kB / 436.1 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.2816, allocations: 4 kB / 436.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.152e-05/0.2817, allocations: 87.28 kB / 436.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2817, allocations: 0 / 436.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001926/0.2819, allocations: 4 kB / 436.2 MB, free: 2.906 MB / 334.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: 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.0001315/0.282, allocations: 103.2 kB / 436.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001526/0.2822, allocations: 27.92 kB / 436.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2822, allocations: 4.25 kB / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.92e-07/0.2822, allocations: 0 / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.2825, allocations: 23.98 kB / 436.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.2828, allocations: 159.2 kB / 436.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.2832, allocations: 0.6846 MB / 437.2 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.2832, allocations: 7.438 kB / 437.2 MB, free: 1.832 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2832, allocations: 0 / 437.2 MB, free: 1.832 MB / 334.1 MB Notification: Performance of Templates: time 0.002349/0.2855, allocations: 0.6225 MB / 437.8 MB, free: 1.211 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.671841660048813]