Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_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_cpp_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.00282/0.002826, allocations: 181.6 kB / 16.44 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.693/3.693, allocations: 205.4 MB / 222.6 MB, free: 9.129 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.001976/0.001976, allocations: 93.78 kB / 270.9 MB, free: 8.367 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.1886/0.1886, allocations: 12.59 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000924/0.0009246, allocations: 12 kB / 392 MB, free: 66.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1529, allocations: 50.38 MB / 442.4 MB, free: 16.48 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.00267/0.1557, allocations: 1.132 MB / 443.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003029/0.1561, allocations: 31.91 kB / 443.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.89e-05/0.1562, allocations: 0 / 443.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.1562, allocations: 0 / 443.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.1e-05/0.1563, allocations: 11.94 kB / 443.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.1567, allocations: 19.97 kB / 443.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.781e-05/0.1568, allocations: 15.98 kB / 443.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1569, allocations: 8 kB / 443.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.055e-05/0.157, allocations: 15.91 kB / 443.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.552e-05/0.1571, allocations: 11.94 kB / 443.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.1571, allocations: 0 / 443.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.59e-05/0.1572, allocations: 0 / 443.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.1572, allocations: 0 / 443.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/0.1573, allocations: 29.7 kB / 443.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.1574, allocations: 31.89 kB / 443.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1574, allocations: 0 / 443.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1574, allocations: 0 / 443.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1574, allocations: 0 / 443.7 MB, free: 15.15 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.0005633/0.158, allocations: 339.5 kB / 444 MB, free: 14.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.1581, allocations: 8.031 kB / 444 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.1582, allocations: 7.891 kB / 444 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.1584, allocations: 183 kB / 444.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.1585, allocations: 4 kB / 444.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.1585, allocations: 11.95 kB / 444.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007192/0.1593, allocations: 115.3 kB / 444.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.1593, allocations: 0 / 444.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.1594, allocations: 0 / 444.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1594, allocations: 0 / 444.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.1597, allocations: 27.97 kB / 444.3 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.1599, allocations: 165.5 kB / 444.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/0.1604, allocations: 58.59 kB / 444.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.1604, allocations: 0 / 444.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.1605, allocations: 38.55 kB / 444.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 3.286e-06/0.1605, allocations: 0 / 444.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005963/0.1611, allocations: 85.59 kB / 444.7 MB, free: 13.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.1612, allocations: 51.41 kB / 444.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.1614, allocations: 109.8 kB / 444.8 MB, free: 13.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1614, allocations: 29.7 kB / 444.9 MB, free: 13.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.1615, allocations: 154.6 kB / 445 MB, free: 13.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.1615, allocations: 3.938 kB / 445 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.1616, allocations: 0 / 445 MB, free: 13.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.37e-05/0.1617, allocations: 314.8 kB / 445.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.964e-05/0.1617, allocations: 4 kB / 445.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.755e-05/0.1618, allocations: 35.42 kB / 445.4 MB, free: 13.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.784e-05/0.1619, allocations: 4 kB / 445.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1619, allocations: 4 kB / 445.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001937/0.1621, allocations: 61.56 kB / 445.4 MB, free: 13.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.1621, allocations: 7.953 kB / 445.4 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1622, allocations: 4 kB / 445.4 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.1622, allocations: 4.125 kB / 445.4 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.1624, allocations: 8.375 kB / 445.5 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.1624, allocations: 0 / 445.5 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.993e-05/0.1625, allocations: 11.91 kB / 445.5 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1625, allocations: 0 / 445.5 MB, free: 13.11 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.1626, allocations: 125.5 kB / 445.6 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003755/0.163, allocations: 69.66 kB / 445.7 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.1631, allocations: 7.859 kB / 445.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.1631, allocations: 4 kB / 445.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1631, allocations: 0 / 445.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1631, allocations: 0 / 445.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.1633, allocations: 157.7 kB / 445.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.1633, allocations: 4 kB / 445.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.1635, allocations: 8.234 kB / 445.8 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-06/0.1635, allocations: 0 / 445.8 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1635, allocations: 0 / 445.8 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.1635, allocations: 3.953 kB / 445.8 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1635, allocations: 0 / 445.8 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.1639, allocations: 108.9 kB / 445.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.164, allocations: 85.05 kB / 446 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.769e-05/0.1641, allocations: 4 kB / 446 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.884e-05/0.1642, allocations: 11.92 kB / 446 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-06/0.1642, allocations: 3.953 kB / 446 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.1642, allocations: 0 / 446 MB, free: 12.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.506e-05/0.1643, allocations: 83.28 kB / 446.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.1643, allocations: 4 kB / 446.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005177/0.1649, allocations: 4 kB / 446.1 MB, free: 12.33 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001522/0.1651, allocations: 95.25 kB / 446.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.004459/0.1695, allocations: 31.91 kB / 446.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.1696, allocations: 4 kB / 446.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.158e-06/0.1697, allocations: 0 / 446.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005912/0.1703, allocations: 28.02 kB / 446.3 MB, free: 12.17 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/0.1708, allocations: 150.7 kB / 446.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.171, allocations: 0.6848 MB / 447.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.1711, allocations: 11.44 kB / 447.1 MB, free: 11.26 MB / 298.7 MB Notification: Performance of SimCode: time 2.765e-06/0.1711, allocations: 0 / 447.1 MB, free: 11.26 MB / 298.7 MB Notification: Performance of Templates: time 0.00336/0.1745, allocations: 0.6141 MB / 447.8 MB, free: 10.65 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches