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.001419/0.00142, allocations: 168.9 kB / 16.8 MB, free: 4.992 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.457/1.457, allocations: 205.4 MB / 223 MB, free: 9.004 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.0007525/0.0007526, allocations: 89.5 kB / 271.3 MB, free: 8.246 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.07713/0.07713, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004149/0.0004153, allocations: 15.94 kB / 393.3 MB, free: 65.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08311/0.08354, allocations: 50.37 MB / 443.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.00133/0.08492, allocations: 1.148 MB / 444.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001675/0.0851, allocations: 39.84 kB / 444.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.226e-05/0.08518, allocations: 0 / 444.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.08521, allocations: 0 / 444.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.851e-05/0.08525, allocations: 0 / 444.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.08551, allocations: 15.94 kB / 444.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.52e-05/0.08559, allocations: 27.97 kB / 444.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.779e-05/0.0857, allocations: 11.98 kB / 444.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.485e-05/0.08578, allocations: 11.94 kB / 444.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.325e-05/0.08583, allocations: 15.92 kB / 445 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.08586, allocations: 3.938 kB / 445 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-06/0.08588, allocations: 0 / 445 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.0859, allocations: 4 kB / 445 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.08594, allocations: 41.58 kB / 445 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.773e-05/0.086, allocations: 15.95 kB / 445 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.08602, allocations: 0 / 445 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.08602, allocations: 0 / 445 MB, free: 14.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.08603, allocations: 0 / 445 MB, free: 14.09 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.0003522/0.08639, allocations: 343.7 kB / 445.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.08644, allocations: 12.03 kB / 445.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.08647, allocations: 4.844 kB / 445.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.08661, allocations: 176.3 kB / 445.5 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.08664, allocations: 8.375 kB / 445.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.08666, allocations: 384 / 445.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.08696, allocations: 119.8 kB / 445.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.08698, allocations: 8.188 kB / 445.7 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.087, allocations: 7.875 kB / 445.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.08701, allocations: 0 / 445.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.08712, allocations: 31.91 kB / 445.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.375e-05/0.08722, allocations: 157.6 kB / 445.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.08739, allocations: 58.53 kB / 445.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.047e-05/0.08749, allocations: 28.92 kB / 446 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.08751, allocations: 4 kB / 446 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.08754, allocations: 34.56 kB / 446 MB, free: 12.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 2.214e-06/0.08755, allocations: 0 / 446 MB, free: 12.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003041/0.08786, allocations: 85.53 kB / 446.1 MB, free: 12.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.08792, allocations: 59.39 kB / 446.1 MB, free: 12.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.456e-05/0.08799, allocations: 101.9 kB / 446.2 MB, free: 12.67 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.08801, allocations: 25.7 kB / 446.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.398e-05/0.08804, allocations: 88.12 kB / 446.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.08807, allocations: 8 kB / 446.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.08808, allocations: 0 / 446.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.714e-05/0.08813, allocations: 314.8 kB / 446.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.431e-05/0.08815, allocations: 4 kB / 446.7 MB, free: 12.22 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.874e-05/0.08819, allocations: 35.36 kB / 446.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.404e-05/0.08824, allocations: 35.44 kB / 446.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.08825, allocations: 0 / 446.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.643e-05/0.08832, allocations: 65.47 kB / 446.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.08834, allocations: 4 kB / 446.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.08835, allocations: 3.938 kB / 446.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.08837, allocations: 4 kB / 446.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.697e-05/0.08843, allocations: 12.12 kB / 446.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.08845, allocations: 3.984 kB / 446.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.848e-05/0.08847, allocations: 4 kB / 446.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.08848, allocations: 7.984 kB / 446.8 MB, free: 12.02 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 (step.counter,$CLKPRE.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.071e-05/0.08854, allocations: 110.7 kB / 446.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.08866, allocations: 73.52 kB / 447 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.377e-05/0.0887, allocations: 11.84 kB / 447 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.0887, allocations: 3.938 kB / 447 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.08871, allocations: 3.938 kB / 447 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.08872, allocations: 4 kB / 447 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.353e-05/0.08878, allocations: 161.6 kB / 447.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.08878, allocations: 0 / 447.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.298e-05/0.08884, allocations: 8 kB / 447.2 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.08885, allocations: 4 kB / 447.2 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.08886, allocations: 3.938 kB / 447.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.08887, allocations: 4.359 kB / 447.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.08888, allocations: 0 / 447.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.08902, allocations: 93.05 kB / 447.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.08905, allocations: 85.39 kB / 447.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.08907, allocations: 3.938 kB / 447.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.08e-05/0.0891, allocations: 7.984 kB / 447.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-06/0.08911, allocations: 0 / 447.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.08912, allocations: 3.984 kB / 447.4 MB, free: 11.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.325e-05/0.08915, allocations: 83.28 kB / 447.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08916, allocations: 0 / 447.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000166/0.08933, allocations: 4 kB / 447.5 MB, free: 11.26 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 7.317e-05/0.08941, allocations: 107.2 kB / 447.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.08952, allocations: 27.92 kB / 447.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.08953, allocations: 4 kB / 447.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.92e-07/0.08954, allocations: 0 / 447.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.08985, allocations: 28.02 kB / 447.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/0.09013, allocations: 154.5 kB / 447.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.09025, allocations: 0.6848 MB / 448.5 MB, free: 10.19 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.09027, allocations: 11.44 kB / 448.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.09028, allocations: 0 / 448.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of Templates: time 0.001648/0.09193, allocations: 0.6087 MB / 449.1 MB, free: 9.57 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