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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 102.6 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 181.4 kB / 16.97 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.4 MB / 223.1 MB, free: 5.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.05977/0.05977, allocations: 12.61 MB / 284 MB, free: 8.812 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006452/0.0006452, allocations: 20 kB / 345.2 MB, free: 20.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07955/0.08021, allocations: 50.39 MB / 395.6 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001356/0.0816, allocations: 1.141 MB / 396.7 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001473/0.08176, allocations: 35.91 kB / 396.7 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.08182, allocations: 0 / 396.7 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.381e-05/0.08184, allocations: 3.938 kB / 396.7 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.939e-05/0.08187, allocations: 0 / 396.7 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.08208, allocations: 23.97 kB / 396.8 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.938e-05/0.08214, allocations: 31.92 kB / 396.8 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.235e-05/0.08222, allocations: 8 kB / 396.8 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.68e-05/0.08226, allocations: 7.938 kB / 396.8 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.532e-05/0.0823, allocations: 15.91 kB / 396.8 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.08231, allocations: 4 kB / 396.8 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.705e-06/0.08233, allocations: 0 / 396.8 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.08235, allocations: 0 / 396.8 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.436e-05/0.08238, allocations: 41.58 kB / 396.9 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.648e-05/0.08246, allocations: 27.88 kB / 396.9 MB, free: 1.094 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.08247, allocations: 4 kB / 396.9 MB, free: 1.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.08247, allocations: 0 / 396.9 MB, free: 1.09 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.815e-06/0.08248, allocations: 0 / 396.9 MB, free: 1.09 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.0003127/0.0828, allocations: 339.7 kB / 397.2 MB, free: 0.707 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.08283, allocations: 8.031 kB / 397.2 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.08286, allocations: 8.844 kB / 397.2 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.08301, allocations: 176.3 kB / 397.4 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.08303, allocations: 4.375 kB / 397.4 MB, free: 488 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.08305, allocations: 384 / 397.4 MB, free: 488 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.08335, allocations: 119.9 kB / 397.5 MB, free: 356 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.08337, allocations: 192 / 397.5 MB, free: 356 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.08338, allocations: 7.938 kB / 397.5 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.08339, allocations: 0 / 397.5 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.0835, allocations: 31.91 kB / 397.6 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001151/0.08363, allocations: 161.6 kB / 397.7 MB, free: 104 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.08378, allocations: 66.42 kB / 397.8 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.008e-05/0.08387, allocations: 28.98 kB / 397.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.064e-06/0.08388, allocations: 3.984 kB / 397.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.08391, allocations: 34.56 kB / 397.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.08392, allocations: 0 / 397.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002406/0.08416, allocations: 81.59 kB / 397.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.08421, allocations: 59.34 kB / 398 MB, free: 15.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.869e-05/0.08429, allocations: 109.8 kB / 398.1 MB, free: 15.67 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.0843, allocations: 25.7 kB / 398.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.08434, allocations: 84.14 kB / 398.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.388e-06/0.08435, allocations: 0 / 398.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.08438, allocations: 17.7 kB / 398.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.259e-05/0.08448, allocations: 314.8 kB / 398.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.01e-05/0.08449, allocations: 4 kB / 398.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.638e-05/0.08452, allocations: 35.42 kB / 398.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.675e-05/0.08457, allocations: 35.38 kB / 398.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.08457, allocations: 0 / 398.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.558e-05/0.08465, allocations: 69.62 kB / 398.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.08467, allocations: 5.25 kB / 398.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.08468, allocations: 7.938 kB / 398.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.0847, allocations: 0 / 398.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.979e-05/0.08475, allocations: 11.94 kB / 398.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.08476, allocations: 0 / 398.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.943e-05/0.08478, allocations: 4 kB / 398.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-06/0.08479, allocations: 0 / 398.7 MB, free: 15.02 MB / 302.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 6.718e-05/0.08487, allocations: 113.8 kB / 398.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.08501, allocations: 73.59 kB / 398.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.08504, allocations: 15.84 kB / 398.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.08505, allocations: 3.938 kB / 398.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.08505, allocations: 0 / 398.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.08506, allocations: 4 kB / 398.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.145e-05/0.08515, allocations: 161.5 kB / 399.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.08516, allocations: 0 / 399.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.293e-05/0.08521, allocations: 11.98 kB / 399.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.08522, allocations: 0 / 399.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.08523, allocations: 3.938 kB / 399.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.08524, allocations: 0 / 399.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.08524, allocations: 4 kB / 399.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.08541, allocations: 97.03 kB / 399.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/0.08545, allocations: 77.11 kB / 399.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.08546, allocations: 3.938 kB / 399.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.143e-05/0.0855, allocations: 8 kB / 399.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-06/0.08551, allocations: 0 / 399.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.08552, allocations: 3.984 kB / 399.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.923e-05/0.08557, allocations: 87.28 kB / 399.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08557, allocations: 0 / 399.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001889/0.08576, allocations: 8 kB / 399.4 MB, free: 14.25 MB / 302.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 7.172e-05/0.08584, allocations: 95.19 kB / 399.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.08596, allocations: 31.97 kB / 399.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.08597, allocations: 0 / 399.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.08598, allocations: 0 / 399.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.08623, allocations: 32.2 kB / 399.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/0.08649, allocations: 137 kB / 399.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.08672, allocations: 0.677 MB / 400.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.786e-05/0.08675, allocations: 4 kB / 400.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.08677, allocations: 7.438 kB / 400.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of SimCode: time 1.91e-07/0.08677, allocations: 0 / 400.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of Templates: time 0.001853/0.08863, allocations: 404.6 kB / 400.7 MB, free: 12.81 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/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