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.001879/0.001887, allocations: 109.7 kB / 17.16 MB, free: 6.328 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.00209/0.00209, allocations: 198.9 kB / 18.08 MB, free: 5.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 2.673/2.673, allocations: 222.9 MB / 241.8 MB, free: 15.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 47.27 kB / 300.6 MB, free: 6.359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.213, allocations: 49.44 MB / 350.1 MB, free: 4.91 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.006395/0.2195, allocations: 1.486 MB / 351.5 MB, free: 3.406 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003844/0.22, allocations: 31.91 kB / 351.6 MB, free: 3.375 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.2201, allocations: 0 / 351.6 MB, free: 3.375 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.752e-05/0.2203, allocations: 3.938 kB / 351.6 MB, free: 3.371 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.311e-05/0.2204, allocations: 4 kB / 351.6 MB, free: 3.367 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005019/0.2209, allocations: 27.97 kB / 351.6 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.2211, allocations: 23.94 kB / 351.6 MB, free: 3.316 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.2214, allocations: 7.984 kB / 351.6 MB, free: 3.309 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.373e-05/0.2215, allocations: 11.94 kB / 351.6 MB, free: 3.297 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.298e-05/0.2216, allocations: 19.91 kB / 351.7 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.2216, allocations: 0 / 351.7 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.275e-05/0.2216, allocations: 4 kB / 351.7 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.607e-05/0.2217, allocations: 0 / 351.7 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.097e-05/0.2218, allocations: 15.88 kB / 351.7 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.2219, allocations: 23.95 kB / 351.7 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.222, allocations: 0 / 351.7 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.222, allocations: 0 / 351.7 MB, free: 3.234 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.222, allocations: 0 / 351.7 MB, free: 3.234 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.0007723/0.2228, allocations: 347.7 kB / 352.1 MB, free: 2.844 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.953e-05/0.2229, allocations: 8.031 kB / 352.1 MB, free: 2.836 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.915e-05/0.223, allocations: 8.844 kB / 352.1 MB, free: 2.828 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.2233, allocations: 176.3 kB / 352.2 MB, free: 2.617 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.2233, allocations: 384 / 352.2 MB, free: 2.617 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.2234, allocations: 12.38 kB / 352.3 MB, free: 2.605 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000692/0.2241, allocations: 116.7 kB / 352.4 MB, free: 2.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.2241, allocations: 4.172 kB / 352.4 MB, free: 2.477 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.2242, allocations: 3.938 kB / 352.4 MB, free: 2.473 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.2242, allocations: 3.984 kB / 352.4 MB, free: 2.469 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.2244, allocations: 19.98 kB / 352.4 MB, free: 2.449 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.2247, allocations: 169.5 kB / 352.6 MB, free: 2.234 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.225, allocations: 62.48 kB / 352.6 MB, free: 2.164 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.2252, allocations: 28.86 kB / 352.7 MB, free: 2.133 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.2252, allocations: 0 / 352.7 MB, free: 2.133 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.2253, allocations: 30.56 kB / 352.7 MB, free: 2.094 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.475e-06/0.2253, allocations: 0 / 352.7 MB, free: 2.094 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005401/0.2259, allocations: 81.59 kB / 352.8 MB, free: 2.008 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.472e-05/0.226, allocations: 63.34 kB / 352.8 MB, free: 1.934 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.2261, allocations: 105.8 kB / 352.9 MB, free: 1.82 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.2262, allocations: 29.7 kB / 353 MB, free: 1.785 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.2262, allocations: 80.14 kB / 353 MB, free: 1.703 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.2263, allocations: 0 / 353 MB, free: 1.703 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.2263, allocations: 21.7 kB / 353.1 MB, free: 1.676 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.2265, allocations: 318.8 kB / 353.4 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/0.2266, allocations: 0 / 353.4 MB, free: 1.355 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.64e-05/0.2267, allocations: 39.42 kB / 353.4 MB, free: 1.305 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.453e-05/0.2268, allocations: 35.38 kB / 353.4 MB, free: 1.258 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2268, allocations: 0 / 353.4 MB, free: 1.258 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001563/0.227, allocations: 61.53 kB / 353.5 MB, free: 1.191 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.227, allocations: 8 kB / 353.5 MB, free: 1.184 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.227, allocations: 3.938 kB / 353.5 MB, free: 1.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.2271, allocations: 0 / 353.5 MB, free: 1.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.2272, allocations: 16.31 kB / 353.5 MB, free: 1.164 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.2272, allocations: 4 kB / 353.5 MB, free: 1.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.2273, allocations: 4 kB / 353.5 MB, free: 1.156 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.2273, allocations: 0 / 353.5 MB, free: 1.156 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: 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 0.0001444/0.2274, allocations: 118 kB / 353.7 MB, free: 1.031 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/0.2277, allocations: 65.66 kB / 353.7 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.734e-05/0.2278, allocations: 11.84 kB / 353.7 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.2278, allocations: 0 / 353.7 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.2279, allocations: 0 / 353.7 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.2279, allocations: 4 kB / 353.7 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.2281, allocations: 161.5 kB / 353.9 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2281, allocations: 7.938 kB / 353.9 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.2282, allocations: 8 kB / 353.9 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.2282, allocations: 0 / 353.9 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.2283, allocations: 7.938 kB / 353.9 MB, free: 0.707 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.2283, allocations: 0 / 353.9 MB, free: 0.707 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2283, allocations: 3.938 kB / 353.9 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.2287, allocations: 93.31 kB / 354 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.2288, allocations: 77.11 kB / 354.1 MB, free: 0.5 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.2288, allocations: 7.938 kB / 354.1 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.454e-05/0.2289, allocations: 3.984 kB / 354.1 MB, free: 500 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-06/0.2289, allocations: 4 kB / 354.1 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.2289, allocations: 4 kB / 354.1 MB, free: 492 kB / 286.1 MB Notification: Performance of sorting global known variables: time 7.195e-05/0.229, allocations: 83.28 kB / 354.2 MB, free: 408 kB / 286.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.229, allocations: 0 / 354.2 MB, free: 408 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003845/0.2294, allocations: 4 kB / 354.2 MB, free: 404 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: 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.0001935/0.2296, allocations: 111.1 kB / 354.3 MB, free: 284 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002524/0.2299, allocations: 31.97 kB / 354.3 MB, free: 252 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2299, allocations: 256 / 354.3 MB, free: 252 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.23, allocations: 4 kB / 354.3 MB, free: 248 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006223/0.2306, allocations: 35.86 kB / 354.4 MB, free: 212 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006665/0.2313, allocations: 156.3 kB / 354.5 MB, free: 20 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/0.2318, allocations: 0.6809 MB / 355.2 MB, free: 15.31 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.6e-05/0.2319, allocations: 11.42 kB / 355.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2319, allocations: 0 / 355.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of Templates: time 0.003525/0.2354, allocations: 0.6097 MB / 355.8 MB, free: 14.69 MB / 302.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