Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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_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_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.001276/0.001276, allocations: 171.9 kB / 16.8 MB, free: 5.027 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.776/1.776, allocations: 205.4 MB / 223 MB, free: 8.945 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.0007887/0.0007884, allocations: 92.98 kB / 271.3 MB, free: 8.234 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.08564/0.08564, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004458/0.0004458, allocations: 20 kB / 393.2 MB, free: 65.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1176, allocations: 50.36 MB / 443.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3407/0.4583, allocations: 78.11 MB / 0.5095 GB, free: 13.46 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.4586, allocations: 88.89 kB / 0.5096 GB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003947/0.4625, allocations: 1.298 MB / 0.5108 GB, free: 12.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4626, allocations: 0 / 0.5108 GB, free: 12.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.4626, allocations: 0 / 0.5108 GB, free: 12.93 MB / 330.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.0004401/0.463, allocations: 358.3 kB / 0.5112 GB, free: 12.56 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.4631, allocations: 11.84 kB / 0.5112 GB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.4631, allocations: 8.688 kB / 0.5112 GB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.4633, allocations: 192.1 kB / 0.5114 GB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.4634, allocations: 3.625 kB / 0.5114 GB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.4634, allocations: 4.312 kB / 0.5114 GB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.4637, allocations: 143.8 kB / 0.5115 GB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4638, allocations: 192 / 0.5115 GB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.4638, allocations: 3.938 kB / 0.5115 GB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4638, allocations: 5.75 kB / 0.5115 GB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.413e-05/0.4639, allocations: 25.8 kB / 0.5116 GB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001205/0.464, allocations: 168.5 kB / 0.5117 GB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.4642, allocations: 136.8 kB / 0.5119 GB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.732e-05/0.4643, allocations: 34.53 kB / 0.5119 GB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.4643, allocations: 3.594 kB / 0.5119 GB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.4643, allocations: 30.56 kB / 0.5119 GB, free: 11.87 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.4643, allocations: 0 / 0.5119 GB, free: 11.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002389/0.4646, allocations: 94.92 kB / 0.512 GB, free: 11.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.4646, allocations: 66.38 kB / 0.5121 GB, free: 11.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.92e-05/0.4647, allocations: 119.8 kB / 0.5122 GB, free: 11.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.4647, allocations: 25.7 kB / 0.5122 GB, free: 11.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.314e-05/0.4648, allocations: 87.31 kB / 0.5123 GB, free: 11.53 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.4648, allocations: 3.875 kB / 0.5123 GB, free: 11.53 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/0.4648, allocations: 3.125 kB / 0.5123 GB, free: 11.53 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.412e-05/0.4649, allocations: 310.8 kB / 0.5126 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.4649, allocations: 11.27 kB / 0.5126 GB, free: 11.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.023e-05/0.4649, allocations: 48.03 kB / 0.5127 GB, free: 11.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.09e-05/0.465, allocations: 59.62 kB / 0.5127 GB, free: 11.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.465, allocations: 0 / 0.5127 GB, free: 11.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.542e-05/0.4651, allocations: 74.12 kB / 0.5128 GB, free: 11.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4651, allocations: 7.859 kB / 0.5128 GB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4651, allocations: 3.938 kB / 0.5128 GB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.4651, allocations: 3.906 kB / 0.5128 GB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.783e-05/0.4652, allocations: 11.88 kB / 0.5128 GB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4652, allocations: 0 / 0.5128 GB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.114e-05/0.4652, allocations: 7.688 kB / 0.5128 GB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.4652, allocations: 0 / 0.5128 GB, free: 11.04 MB / 330.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 6.446e-05/0.4653, allocations: 121.1 kB / 0.5129 GB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.4654, allocations: 72.45 kB / 0.513 GB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.4655, allocations: 11.31 kB / 0.513 GB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4655, allocations: 3.844 kB / 0.513 GB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4655, allocations: 4 kB / 0.513 GB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4655, allocations: 0 / 0.513 GB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.395e-05/0.4656, allocations: 166.9 kB / 0.5132 GB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4656, allocations: 0 / 0.5132 GB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.4656, allocations: 7.719 kB / 0.5132 GB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.4657, allocations: 0 / 0.5132 GB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.4657, allocations: 6.688 kB / 0.5132 GB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4657, allocations: 0 / 0.5132 GB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4657, allocations: 0 / 0.5132 GB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.4658, allocations: 109 kB / 0.5133 GB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.4659, allocations: 81.08 kB / 0.5134 GB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.4659, allocations: 7.922 kB / 0.5134 GB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.651e-05/0.466, allocations: 19.89 kB / 0.5134 GB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-06/0.466, allocations: 0 / 0.5134 GB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.466, allocations: 0 / 0.5134 GB, free: 10.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.133e-05/0.466, allocations: 86.34 kB / 0.5135 GB, free: 10.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.466, allocations: 4 kB / 0.5135 GB, free: 10.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001919/0.4662, allocations: 7.688 kB / 0.5135 GB, free: 10.39 MB / 330.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 8.12e-05/0.4663, allocations: 102 kB / 0.5136 GB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.4664, allocations: 38.98 kB / 0.5136 GB, free: 10.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4664, allocations: 3.938 kB / 0.5136 GB, free: 10.28 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.4665, allocations: 4.25 kB / 0.5136 GB, free: 10.28 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.4668, allocations: 47.16 kB / 0.5137 GB, free: 10.26 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.4671, allocations: 141 kB / 0.5138 GB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.4672, allocations: 0.6884 MB / 0.5145 GB, free: 9.434 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.807e-05/0.4672, allocations: 4 kB / 0.5145 GB, free: 9.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.4673, allocations: 11.34 kB / 0.5145 GB, free: 9.426 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4673, allocations: 0 / 0.5145 GB, free: 9.426 MB / 330.7 MB Notification: Performance of Templates: time 0.002248/0.4695, allocations: 0.5701 MB / 0.5151 GB, free: 9.148 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_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_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches