Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|pulse.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|pulse.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002873/0.00288, allocations: 188 kB / 16.45 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.063/4.063, allocations: 205.4 MB / 222.6 MB, free: 13.84 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.005381/0.005381, allocations: 106.8 kB / 270.9 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.2335/0.2335, allocations: 12.6 MB / 331.8 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001017, allocations: 15.75 kB / 392 MB, free: 54.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1583, allocations: 50.37 MB / 442.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.00381/0.1622, allocations: 1.182 MB / 443.5 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.1646, allocations: 472.3 kB / 444 MB, free: 9.961 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.1649, allocations: 0 / 444 MB, free: 9.961 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.956e-05/0.1649, allocations: 3.938 kB / 444 MB, free: 9.957 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.1652, allocations: 15.97 kB / 444 MB, free: 9.941 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.1656, allocations: 29.66 kB / 444 MB, free: 9.914 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.1658, allocations: 35.89 kB / 444.1 MB, free: 9.879 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.1659, allocations: 12 kB / 444.1 MB, free: 9.867 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.1661, allocations: 19.91 kB / 444.1 MB, free: 9.848 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.066e-05/0.1662, allocations: 15.92 kB / 444.1 MB, free: 9.832 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.1662, allocations: 4 kB / 444.1 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.072e-05/0.1663, allocations: 0 / 444.1 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.003e-05/0.1663, allocations: 15.92 kB / 444.1 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.1664, allocations: 29.64 kB / 444.2 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.1665, allocations: 32.5 kB / 444.2 MB, free: 9.746 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1665, allocations: 0 / 444.2 MB, free: 9.746 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1666, allocations: 0 / 444.2 MB, free: 9.746 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1666, allocations: 8 kB / 444.2 MB, free: 9.738 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008682/0.1675, allocations: 363.5 kB / 444.6 MB, free: 9.336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.1676, allocations: 8.031 kB / 444.6 MB, free: 9.328 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/0.1676, allocations: 7.906 kB / 444.6 MB, free: 9.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.1679, allocations: 182.9 kB / 444.8 MB, free: 9.102 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.168, allocations: 4 kB / 444.8 MB, free: 9.098 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.168, allocations: 11.98 kB / 444.8 MB, free: 9.086 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007996/0.1688, allocations: 147.1 kB / 444.9 MB, free: 8.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.1689, allocations: 0 / 444.9 MB, free: 8.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.1689, allocations: 0 / 444.9 MB, free: 8.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.169, allocations: 4 kB / 444.9 MB, free: 8.926 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.1693, allocations: 31.98 kB / 444.9 MB, free: 8.895 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002263/0.1695, allocations: 161.7 kB / 445.1 MB, free: 8.688 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004218/0.17, allocations: 143.7 kB / 445.2 MB, free: 8.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.17, allocations: 3.938 kB / 445.2 MB, free: 8.516 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.1701, allocations: 34.56 kB / 445.3 MB, free: 8.473 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 5.099e-06/0.1701, allocations: 0 / 445.3 MB, free: 8.473 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.000581/0.1707, allocations: 85.8 kB / 445.4 MB, free: 8.383 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/0.1708, allocations: 55.41 kB / 445.4 MB, free: 8.316 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.171, allocations: 110.1 kB / 445.5 MB, free: 8.199 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.171, allocations: 25.7 kB / 445.6 MB, free: 8.168 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.1711, allocations: 150.6 kB / 445.7 MB, free: 8.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.1711, allocations: 19.89 kB / 445.7 MB, free: 8 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.1712, allocations: 0 / 445.7 MB, free: 8 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.36e-05/0.1713, allocations: 314.8 kB / 446 MB, free: 7.684 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.131e-05/0.1713, allocations: 11.94 kB / 446 MB, free: 7.672 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.761e-05/0.1714, allocations: 49.2 kB / 446.1 MB, free: 7.605 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.34e-05/0.1715, allocations: 16 kB / 446.1 MB, free: 7.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.1715, allocations: 0 / 446.1 MB, free: 7.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000244/0.1718, allocations: 73.52 kB / 446.2 MB, free: 7.512 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.1719, allocations: 4 kB / 446.2 MB, free: 7.508 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.1719, allocations: 4 kB / 446.2 MB, free: 7.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.1719, allocations: 4.188 kB / 446.2 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.1721, allocations: 11.94 kB / 446.2 MB, free: 7.488 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.1721, allocations: 7.922 kB / 446.2 MB, free: 7.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.1723, allocations: 7.938 kB / 446.2 MB, free: 7.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.1723, allocations: 4 kB / 446.2 MB, free: 7.469 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001721/0.1725, allocations: 117.9 kB / 446.3 MB, free: 7.344 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003661/0.1729, allocations: 77.55 kB / 446.4 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.593e-05/0.173, allocations: 12.36 kB / 446.4 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.173, allocations: 4 kB / 446.4 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.173, allocations: 7.938 kB / 446.4 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.173, allocations: 0 / 446.4 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.1732, allocations: 157.7 kB / 446.6 MB, free: 7.031 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1732, allocations: 0 / 446.6 MB, free: 7.031 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.1734, allocations: 11.98 kB / 446.6 MB, free: 7.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.1734, allocations: 0 / 446.6 MB, free: 7.02 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.1734, allocations: 7.953 kB / 446.6 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.1735, allocations: 0 / 446.6 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1735, allocations: 0 / 446.6 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.1739, allocations: 101 kB / 446.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.144e-05/0.174, allocations: 77.11 kB / 446.8 MB, free: 6.801 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.174, allocations: 4 kB / 446.8 MB, free: 6.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.1743, allocations: 15.94 kB / 446.8 MB, free: 6.781 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-06/0.1743, allocations: 0 / 446.8 MB, free: 6.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.1743, allocations: 8 kB / 446.8 MB, free: 6.773 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.653e-05/0.1744, allocations: 91.2 kB / 446.9 MB, free: 6.684 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.1744, allocations: 0 / 446.9 MB, free: 6.684 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005021/0.1749, allocations: 12 kB / 446.9 MB, free: 6.672 MB / 282.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: 3 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001555/0.1751, allocations: 91.25 kB / 447 MB, free: 6.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003026/0.1754, allocations: 39.92 kB / 447 MB, free: 6.531 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.1755, allocations: 384 / 447 MB, free: 6.531 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.1755, allocations: 4 kB / 447 MB, free: 6.527 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005808/0.1761, allocations: 51.66 kB / 447.1 MB, free: 6.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007184/0.1768, allocations: 174.3 kB / 447.3 MB, free: 6.281 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.1771, allocations: 0.6964 MB / 448 MB, free: 5.559 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.1772, allocations: 15.44 kB / 448 MB, free: 5.547 MB / 282.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1773, allocations: 0 / 448 MB, free: 5.547 MB / 282.7 MB Notification: Performance of Templates: time 0.00409/0.1814, allocations: 0.7401 MB / 448.7 MB, free: 4.809 MB / 282.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches