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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 108.4 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002108/0.002108, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.186/2.186, allocations: 222.9 MB / 241.7 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 50.64 kB / 300.6 MB, free: 6.305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.205, allocations: 49.45 MB / 350.1 MB, free: 4.848 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.006157/0.2112, allocations: 1.503 MB / 351.6 MB, free: 3.328 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000382/0.2117, allocations: 27.91 kB / 351.6 MB, free: 3.301 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.2119, allocations: 0 / 351.6 MB, free: 3.301 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.443e-05/0.212, allocations: 3.938 kB / 351.6 MB, free: 3.297 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.063e-05/0.2121, allocations: 4 kB / 351.6 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.2127, allocations: 27.97 kB / 351.6 MB, free: 3.266 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.2129, allocations: 31.88 kB / 351.7 MB, free: 3.234 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.2131, allocations: 11.98 kB / 351.7 MB, free: 3.223 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.757e-05/0.2132, allocations: 4 kB / 351.7 MB, free: 3.219 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.113e-05/0.2133, allocations: 19.91 kB / 351.7 MB, free: 3.199 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.2134, allocations: 4 kB / 351.7 MB, free: 3.195 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.2134, allocations: 0 / 351.7 MB, free: 3.195 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.406e-05/0.2135, allocations: 7.938 kB / 351.7 MB, free: 3.188 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.567e-05/0.2135, allocations: 11.94 kB / 351.7 MB, free: 3.176 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.2137, allocations: 19.95 kB / 351.7 MB, free: 3.156 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.459e-05/0.2137, allocations: 8 kB / 351.7 MB, free: 3.148 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2137, allocations: 3.938 kB / 351.8 MB, free: 3.145 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.2138, allocations: 0 / 351.8 MB, free: 3.145 MB / 286.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.0009051/0.2147, allocations: 346.1 kB / 352.1 MB, free: 2.758 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.926e-05/0.2148, allocations: 8.031 kB / 352.1 MB, free: 2.75 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.168e-05/0.2149, allocations: 8.781 kB / 352.1 MB, free: 2.742 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.2152, allocations: 180.3 kB / 352.3 MB, free: 2.527 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.2153, allocations: 8.344 kB / 352.3 MB, free: 2.52 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.2153, allocations: 4.375 kB / 352.3 MB, free: 2.516 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006777/0.216, allocations: 115.9 kB / 352.4 MB, free: 2.391 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.2161, allocations: 192 / 352.4 MB, free: 2.391 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.2161, allocations: 3.938 kB / 352.4 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.2161, allocations: 4 kB / 352.4 MB, free: 2.383 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.2163, allocations: 27.91 kB / 352.4 MB, free: 2.355 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.2166, allocations: 161.6 kB / 352.6 MB, free: 2.148 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.2169, allocations: 58.55 kB / 352.7 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.2171, allocations: 24.92 kB / 352.7 MB, free: 2.055 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.2172, allocations: 4 kB / 352.7 MB, free: 2.051 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/0.2172, allocations: 30.56 kB / 352.7 MB, free: 2.012 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.124e-06/0.2172, allocations: 0 / 352.7 MB, free: 2.012 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004916/0.2177, allocations: 85.53 kB / 352.8 MB, free: 1.922 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.2179, allocations: 55.41 kB / 352.9 MB, free: 1.855 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.218, allocations: 109.8 kB / 353 MB, free: 1.738 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.2181, allocations: 25.7 kB / 353 MB, free: 1.707 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.789e-05/0.2181, allocations: 80.14 kB / 353.1 MB, free: 1.625 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.2182, allocations: 8 kB / 353.1 MB, free: 1.617 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.256e-05/0.2183, allocations: 13.72 kB / 353.1 MB, free: 1.598 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002306/0.2185, allocations: 318.8 kB / 353.4 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.852e-05/0.2186, allocations: 4 kB / 353.4 MB, free: 1.273 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.028e-05/0.2186, allocations: 31.44 kB / 353.4 MB, free: 1.23 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.259e-05/0.2187, allocations: 39.36 kB / 353.5 MB, free: 1.18 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2187, allocations: 0 / 353.5 MB, free: 1.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002027/0.2189, allocations: 73.47 kB / 353.5 MB, free: 1.102 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.219, allocations: 4 kB / 353.5 MB, free: 1.098 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.219, allocations: 3.938 kB / 353.5 MB, free: 1.094 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.733e-05/0.2191, allocations: 4 kB / 353.6 MB, free: 1.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.2192, allocations: 11.94 kB / 353.6 MB, free: 1.078 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.2192, allocations: 0 / 353.6 MB, free: 1.078 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.586e-05/0.2193, allocations: 0 / 353.6 MB, free: 1.078 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.2193, allocations: 4.375 kB / 353.6 MB, free: 1.074 MB / 286.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.0001873/0.2195, allocations: 114 kB / 353.7 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/0.2198, allocations: 65.61 kB / 353.7 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.394e-05/0.2198, allocations: 19.83 kB / 353.8 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.2199, allocations: 4.234 kB / 353.8 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.2199, allocations: 0 / 353.8 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.2199, allocations: 0 / 353.8 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.2201, allocations: 161.6 kB / 353.9 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2201, allocations: 3.938 kB / 353.9 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.447e-05/0.2202, allocations: 11.98 kB / 353.9 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2202, allocations: 0 / 353.9 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.2203, allocations: 3.938 kB / 353.9 MB, free: 0.625 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2203, allocations: 4 kB / 353.9 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2203, allocations: 0 / 353.9 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.2206, allocations: 93.03 kB / 354 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.83e-05/0.2207, allocations: 81.11 kB / 354.1 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.2207, allocations: 3.938 kB / 354.1 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.58e-05/0.2208, allocations: 8 kB / 354.1 MB, free: 412 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-06/0.2208, allocations: 0 / 354.1 MB, free: 412 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.2208, allocations: 3.984 kB / 354.1 MB, free: 408 kB / 286.1 MB Notification: Performance of sorting global known variables: time 8.025e-05/0.2209, allocations: 83.28 kB / 354.2 MB, free: 324 kB / 286.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2209, allocations: 0 / 354.2 MB, free: 324 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.000343/0.2213, allocations: 8 kB / 354.2 MB, free: 316 kB / 286.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.0002218/0.2215, allocations: 103.2 kB / 354.3 MB, free: 204 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.2218, allocations: 31.91 kB / 354.4 MB, free: 172 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.2218, allocations: 0 / 354.4 MB, free: 172 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.2218, allocations: 0 / 354.4 MB, free: 172 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005873/0.2224, allocations: 36.17 kB / 354.4 MB, free: 136 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006493/0.2231, allocations: 156.9 kB / 354.5 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000537/0.2236, allocations: 0.6809 MB / 355.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/0.2237, allocations: 7.438 kB / 355.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2237, allocations: 0 / 355.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of Templates: time 0.003519/0.2272, allocations: 0.6272 MB / 355.9 MB, free: 14.6 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches