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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000854/0.0008539, allocations: 97.02 kB / 16.06 MB, free: 40 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.0009788/0.0009789, allocations: 181.9 kB / 16.96 MB, free: 6.895 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.221/1.221, allocations: 205.4 MB / 223.1 MB, free: 5.508 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.06135/0.06135, allocations: 12.6 MB / 284 MB, free: 8.578 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.0006554/0.0006554, allocations: 23.98 kB / 345.2 MB, free: 20.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07687/0.07754, allocations: 50.38 MB / 395.5 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.001708/0.07928, allocations: 1.207 MB / 396.8 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006822/0.07998, allocations: 483.8 kB / 397.2 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.787e-05/0.08006, allocations: 0 / 397.2 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.08009, allocations: 0 / 397.2 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.08021, allocations: 11.91 kB / 397.2 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.08038, allocations: 31.91 kB / 397.3 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.531e-05/0.08048, allocations: 51.8 kB / 397.3 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.931e-05/0.08056, allocations: 11.98 kB / 397.3 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.784e-05/0.08063, allocations: 15.94 kB / 397.3 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.327e-05/0.08068, allocations: 19.92 kB / 397.4 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.0807, allocations: 4 kB / 397.4 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.08072, allocations: 0 / 397.4 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.08074, allocations: 15.91 kB / 397.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.08079, allocations: 41.62 kB / 397.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.637e-05/0.08089, allocations: 44.05 kB / 397.5 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.0809, allocations: 3.938 kB / 397.5 MB, free: 480 kB / 286.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.0809, allocations: 0 / 397.5 MB, free: 480 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.08091, allocations: 0 / 397.5 MB, free: 480 kB / 286.1 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.0005191/0.08143, allocations: 371.3 kB / 397.8 MB, free: 60 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.08148, allocations: 16.02 kB / 397.9 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.08152, allocations: 4.938 kB / 397.9 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.08172, allocations: 180.3 kB / 398 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.08175, allocations: 4.375 kB / 398 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.08177, allocations: 4.375 kB / 398 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.08211, allocations: 147.5 kB / 398.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.08213, allocations: 0 / 398.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.08214, allocations: 0 / 398.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.08215, allocations: 0 / 398.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.793e-05/0.08226, allocations: 39.86 kB / 398.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.0824, allocations: 169.6 kB / 398.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.08259, allocations: 135.7 kB / 398.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.442e-05/0.08268, allocations: 28.84 kB / 398.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.0827, allocations: 4 kB / 398.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.08273, allocations: 34.5 kB / 398.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.08273, allocations: 4 kB / 398.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002314/0.08297, allocations: 93.52 kB / 398.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.08303, allocations: 59.39 kB / 398.7 MB, free: 15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.06e-05/0.08311, allocations: 105.9 kB / 398.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.08313, allocations: 29.69 kB / 398.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.08318, allocations: 88.14 kB / 399 MB, free: 14.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.19e-05/0.08319, allocations: 3.938 kB / 399 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/0.08322, allocations: 13.72 kB / 399 MB, free: 14.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.08333, allocations: 326.8 kB / 399.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.08335, allocations: 8 kB / 399.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.852e-05/0.08339, allocations: 49.45 kB / 399.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.275e-05/0.08346, allocations: 57.02 kB / 399.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.08347, allocations: 4 kB / 399.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.755e-05/0.08357, allocations: 73.47 kB / 399.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.0836, allocations: 12.12 kB / 399.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.08361, allocations: 4 kB / 399.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.08362, allocations: 0 / 399.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.076e-05/0.08367, allocations: 8 kB / 399.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.08368, allocations: 7.984 kB / 399.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.075e-05/0.08372, allocations: 4 kB / 399.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.08373, allocations: 4 kB / 399.5 MB, free: 14.14 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.468e-05/0.08381, allocations: 117.8 kB / 399.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.08394, allocations: 73.53 kB / 399.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.08398, allocations: 8.375 kB / 399.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.08399, allocations: 7.984 kB / 399.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.084, allocations: 3.984 kB / 399.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.084, allocations: 0 / 399.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.142e-05/0.0841, allocations: 162 kB / 399.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.08411, allocations: 4 kB / 399.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.771e-05/0.08416, allocations: 11.98 kB / 399.9 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.08417, allocations: 7.875 kB / 399.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.08418, allocations: 0 / 399.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.08419, allocations: 4 kB / 399.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.0842, allocations: 0 / 399.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.08435, allocations: 93.11 kB / 400 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.0844, allocations: 92.95 kB / 400.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.08442, allocations: 3.938 kB / 400.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.027e-05/0.08451, allocations: 15.98 kB / 400.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-06/0.08452, allocations: 4 kB / 400.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.08453, allocations: 0 / 400.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.223e-05/0.08459, allocations: 91.27 kB / 400.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.573e-06/0.08459, allocations: 0 / 400.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001835/0.08478, allocations: 7.938 kB / 400.2 MB, free: 13.34 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.061e-05/0.08487, allocations: 99.25 kB / 400.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.08499, allocations: 44.17 kB / 400.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.085, allocations: 3.938 kB / 400.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.08501, allocations: 0 / 400.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.08531, allocations: 43.89 kB / 400.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/0.0856, allocations: 148.9 kB / 400.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.08586, allocations: 0.685 MB / 401.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.909e-05/0.08588, allocations: 7.938 kB / 401.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/0.08591, allocations: 15.42 kB / 401.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.08592, allocations: 0 / 401.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of Templates: time 0.002168/0.08809, allocations: 0.5854 MB / 401.8 MB, free: 11.66 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins/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