Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 112.2 kB / 17.74 MB, free: 5.344 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.001756/0.001756, allocations: 187.1 kB / 18.67 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000968/0.0009681, allocations: 51.92 kB / 352 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2427, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002416/0.2452, allocations: 1.424 MB / 402.8 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00017/0.2453, allocations: 31.84 kB / 402.9 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.381e-05/0.2454, allocations: 4 kB / 402.9 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.2455, allocations: 0 / 402.9 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.148e-05/0.2455, allocations: 7.922 kB / 402.9 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.2457, allocations: 23.97 kB / 402.9 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.011e-05/0.2458, allocations: 23.94 kB / 402.9 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.541e-05/0.2459, allocations: 11.98 kB / 402.9 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.407e-05/0.246, allocations: 11.94 kB / 402.9 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.334e-05/0.246, allocations: 15.92 kB / 402.9 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.246, allocations: 0 / 402.9 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.2461, allocations: 4 kB / 403 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.2461, allocations: 7.984 kB / 403 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.2461, allocations: 19.86 kB / 403 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.364e-05/0.2462, allocations: 35.78 kB / 403 MB, free: 7.258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2462, allocations: 4 kB / 403 MB, free: 7.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2462, allocations: 0 / 403 MB, free: 7.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.2462, allocations: 0 / 403 MB, free: 7.254 MB / 318.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.0003904/0.2466, allocations: 344.7 kB / 403.4 MB, free: 6.867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2467, allocations: 11.89 kB / 403.4 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.2467, allocations: 4.938 kB / 403.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.2469, allocations: 180.1 kB / 403.5 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.2469, allocations: 384 / 403.5 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.2469, allocations: 4.375 kB / 403.6 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.2473, allocations: 131.8 kB / 403.7 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.2473, allocations: 192 / 403.7 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.2473, allocations: 7.922 kB / 403.7 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2473, allocations: 0 / 403.7 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.2475, allocations: 31.91 kB / 403.7 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.2476, allocations: 157.6 kB / 403.9 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.2478, allocations: 58.55 kB / 403.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.588e-05/0.2478, allocations: 24.92 kB / 404 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.2479, allocations: 0 / 404 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.2479, allocations: 34.55 kB / 404 MB, free: 6.117 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.2479, allocations: 0 / 404 MB, free: 6.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002625/0.2482, allocations: 85.53 kB / 404.1 MB, free: 6.027 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.2482, allocations: 63.31 kB / 404.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.59e-05/0.2483, allocations: 109.8 kB / 404.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.2483, allocations: 25.7 kB / 404.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.2484, allocations: 84.14 kB / 404.3 MB, free: 5.719 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.138e-05/0.2484, allocations: 0 / 404.3 MB, free: 5.719 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.2484, allocations: 17.72 kB / 404.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.972e-05/0.2485, allocations: 318.8 kB / 404.7 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.2486, allocations: 4 kB / 404.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.982e-05/0.2486, allocations: 31.44 kB / 404.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.893e-05/0.2486, allocations: 35.38 kB / 404.7 MB, free: 5.281 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2487, allocations: 0 / 404.7 MB, free: 5.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.195e-05/0.2487, allocations: 65.56 kB / 404.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.2488, allocations: 8 kB / 404.8 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.2488, allocations: 3.938 kB / 404.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2488, allocations: 0 / 404.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.713e-05/0.2489, allocations: 12.36 kB / 404.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2489, allocations: 4 kB / 404.8 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.158e-05/0.2489, allocations: 3.906 kB / 404.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.2489, allocations: 8 kB / 404.8 MB, free: 5.172 MB / 318.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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * 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 8.899e-05/0.249, allocations: 117.9 kB / 405 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.2492, allocations: 65.61 kB / 405 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.2492, allocations: 11.84 kB / 405 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2492, allocations: 0 / 405 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2492, allocations: 3.938 kB / 405 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2492, allocations: 7.984 kB / 405.1 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.104e-05/0.2493, allocations: 153.7 kB / 405.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2493, allocations: 0 / 405.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.924e-05/0.2494, allocations: 11.98 kB / 405.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2494, allocations: 0 / 405.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.2494, allocations: 3.938 kB / 405.2 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2494, allocations: 4 kB / 405.2 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2494, allocations: 0 / 405.2 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.2496, allocations: 97.17 kB / 405.3 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.2496, allocations: 85.09 kB / 405.4 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.2497, allocations: 7.938 kB / 405.4 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.499e-05/0.2497, allocations: 4 kB / 405.4 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-06/0.2497, allocations: 0 / 405.4 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.2497, allocations: 0 / 405.4 MB, free: 4.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.928e-05/0.2498, allocations: 91.27 kB / 405.5 MB, free: 4.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2498, allocations: 0 / 405.5 MB, free: 4.41 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001876/0.25, allocations: 4 kB / 405.5 MB, free: 4.406 MB / 318.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: 4 (assignClock1.u,assignClock1.y,step.y,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.0001185/0.2501, allocations: 103.2 kB / 405.6 MB, free: 4.297 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.2502, allocations: 27.92 kB / 405.6 MB, free: 4.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2502, allocations: 0 / 405.6 MB, free: 4.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.2503, allocations: 256 / 405.6 MB, free: 4.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.2505, allocations: 27.98 kB / 405.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.2508, allocations: 147.3 kB / 405.8 MB, free: 4.066 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.251, allocations: 0.6844 MB / 406.5 MB, free: 3.355 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.2511, allocations: 7.438 kB / 406.5 MB, free: 3.348 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2511, allocations: 0 / 406.5 MB, free: 3.348 MB / 318.1 MB Notification: Performance of Templates: time 0.001721/0.2528, allocations: 0.6313 MB / 407.1 MB, free: 2.715 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches