Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008606/0.0008606, allocations: 174.5 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.283/1.283, allocations: 205 MB / 222.5 MB, free: 9.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006858/0.0006857, allocations: 85 kB / 270.5 MB, free: 8.672 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07265/0.07265, allocations: 12.57 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003649, allocations: 16 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08426/0.08464, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001226/0.08589, allocations: 1.152 MB / 442.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001523/0.08606, allocations: 35.84 kB / 442.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.96e-05/0.08613, allocations: 0 / 442.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.659e-05/0.08617, allocations: 0 / 442.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.437e-05/0.08621, allocations: 0 / 442.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.08643, allocations: 27.91 kB / 442.9 MB, free: 15.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.784e-05/0.08651, allocations: 27.98 kB / 442.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.305e-05/0.0866, allocations: 8 kB / 442.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.029e-05/0.08663, allocations: 7.938 kB / 442.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.856e-05/0.08668, allocations: 19.91 kB / 443 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.0867, allocations: 0 / 443 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.08671, allocations: 0 / 443 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.08674, allocations: 7.938 kB / 443 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.08677, allocations: 15.88 kB / 443 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.006e-05/0.08685, allocations: 15.95 kB / 443 MB, free: 15.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.08686, allocations: 0 / 443 MB, free: 15.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.08687, allocations: 4 kB / 443 MB, free: 15.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.08687, allocations: 0 / 443 MB, free: 15.07 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.0003048/0.08718, allocations: 335.7 kB / 443.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.08722, allocations: 8.031 kB / 443.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.08726, allocations: 8.844 kB / 443.3 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.08739, allocations: 184.3 kB / 443.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.08742, allocations: 4.375 kB / 443.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.08743, allocations: 384 / 443.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.08773, allocations: 119.9 kB / 443.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.08775, allocations: 4.188 kB / 443.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.08776, allocations: 3.938 kB / 443.7 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.08777, allocations: 0 / 443.7 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.08788, allocations: 35.84 kB / 443.7 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.178e-05/0.08798, allocations: 161.6 kB / 443.8 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.08812, allocations: 58.59 kB / 443.9 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.647e-05/0.08819, allocations: 28.88 kB / 443.9 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.08821, allocations: 0 / 443.9 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.08823, allocations: 30.56 kB / 444 MB, free: 13.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.08824, allocations: 0 / 444 MB, free: 13.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000262/0.0885, allocations: 85.53 kB / 444 MB, free: 13.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.08856, allocations: 59.41 kB / 444.1 MB, free: 13.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.189e-05/0.08863, allocations: 109.8 kB / 444.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.647e-06/0.08865, allocations: 25.7 kB / 444.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.594e-05/0.08868, allocations: 84.14 kB / 444.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.0887, allocations: 0 / 444.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/0.08872, allocations: 13.72 kB / 444.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.359e-05/0.08878, allocations: 318.8 kB / 444.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.22e-05/0.0888, allocations: 4 kB / 444.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.436e-05/0.08883, allocations: 31.62 kB / 444.7 MB, free: 13.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.806e-05/0.08888, allocations: 39.36 kB / 444.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.08888, allocations: 0 / 444.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.78e-05/0.08896, allocations: 65.48 kB / 444.8 MB, free: 13.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.08898, allocations: 8.75 kB / 444.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.08899, allocations: 11.92 kB / 444.8 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.08901, allocations: 3.984 kB / 444.8 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.025e-05/0.08908, allocations: 8 kB / 444.8 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.08909, allocations: 0 / 444.8 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/0.08911, allocations: 4 kB / 444.8 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-06/0.08912, allocations: 384 / 444.8 MB, free: 13 MB / 298.7 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 5.814e-05/0.08918, allocations: 114.7 kB / 444.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.08931, allocations: 69.52 kB / 445 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.195e-05/0.08934, allocations: 15.84 kB / 445 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.08935, allocations: 7.922 kB / 445 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.08936, allocations: 7.938 kB / 445 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.08937, allocations: 4 kB / 445 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.034e-05/0.08942, allocations: 157.6 kB / 445.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.08943, allocations: 0 / 445.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.18e-05/0.08949, allocations: 11.98 kB / 445.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.0895, allocations: 0 / 445.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.08951, allocations: 3.938 kB / 445.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.08951, allocations: 0 / 445.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.08952, allocations: 4 kB / 445.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.08966, allocations: 97.03 kB / 445.3 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/0.08969, allocations: 77.11 kB / 445.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.08971, allocations: 3.938 kB / 445.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.98e-05/0.08974, allocations: 4 kB / 445.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-06/0.08975, allocations: 0 / 445.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.08976, allocations: 4 kB / 445.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.284e-05/0.08979, allocations: 87.27 kB / 445.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0898, allocations: 4 kB / 445.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001695/0.08997, allocations: 4 kB / 445.5 MB, free: 12.23 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: 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 6.935e-05/0.09004, allocations: 99.23 kB / 445.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001111/0.09016, allocations: 31.92 kB / 445.6 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.09017, allocations: 0 / 445.6 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.09018, allocations: 0 / 445.6 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.09046, allocations: 27.98 kB / 445.6 MB, free: 12.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000245/0.09071, allocations: 161.1 kB / 445.8 MB, free: 11.87 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.09084, allocations: 0.6809 MB / 446.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.856e-05/0.09087, allocations: 7.438 kB / 446.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.09087, allocations: 0 / 446.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of Templates: time 0.001566/0.09245, allocations: 0.6232 MB / 447.1 MB, free: 10.54 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches