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.001223/0.001222, allocations: 180.9 kB / 13.23 MB, free: 2.086 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.506/1.506, allocations: 205.2 MB / 219 MB, free: 9.199 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.0008461/0.0008463, allocations: 100.7 kB / 267.1 MB, free: 9.266 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.07442/0.07442, allocations: 12.59 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.048e-05/3.057e-05, allocations: 7.984 kB / 386 MB, free: 69.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08086/0.0809, allocations: 50.36 MB / 436.4 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3105/0.3914, allocations: 78 MB / 0.5023 GB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.3917, allocations: 81.61 kB / 0.5024 GB, free: 11.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003524/0.3952, allocations: 1.281 MB / 0.5036 GB, free: 11.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3953, allocations: 0 / 0.5036 GB, free: 11.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.3953, allocations: 3.969 kB / 0.5036 GB, free: 11.47 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.0003857/0.3957, allocations: 358.7 kB / 0.504 GB, free: 11.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.3957, allocations: 7.688 kB / 0.504 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.3958, allocations: 3.969 kB / 0.504 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.396, allocations: 180.8 kB / 0.5042 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.396, allocations: 11.02 kB / 0.5042 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.396, allocations: 7.859 kB / 0.5042 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.3963, allocations: 129.7 kB / 0.5043 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3963, allocations: 0.9375 kB / 0.5043 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.3963, allocations: 0 / 0.5043 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3963, allocations: 0 / 0.5043 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.632e-05/0.3964, allocations: 25.42 kB / 0.5043 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001058/0.3965, allocations: 161.5 kB / 0.5045 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.3967, allocations: 131 kB / 0.5046 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.165e-05/0.3967, allocations: 31.73 kB / 0.5046 GB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.3968, allocations: 3.953 kB / 0.5047 GB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.153e-05/0.3968, allocations: 34.5 kB / 0.5047 GB, free: 10.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3968, allocations: 0 / 0.5047 GB, free: 10.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001335/0.3969, allocations: 66.41 kB / 0.5047 GB, free: 10.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.397, allocations: 58.94 kB / 0.5048 GB, free: 10.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.87e-05/0.397, allocations: 98.7 kB / 0.5049 GB, free: 10.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.3971, allocations: 29.7 kB / 0.5049 GB, free: 10.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.054e-05/0.3971, allocations: 90.5 kB / 0.505 GB, free: 10.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.156e-05/0.3971, allocations: 0 / 0.505 GB, free: 10.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/0.3971, allocations: 3.188 kB / 0.505 GB, free: 10.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.234e-05/0.3972, allocations: 314.7 kB / 0.5053 GB, free: 9.863 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.3972, allocations: 7.469 kB / 0.5053 GB, free: 9.863 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.43e-05/0.3972, allocations: 43.22 kB / 0.5054 GB, free: 9.816 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.346e-05/0.3972, allocations: 15.06 kB / 0.5054 GB, free: 9.812 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3972, allocations: 3.938 kB / 0.5054 GB, free: 9.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.101e-05/0.3973, allocations: 80.59 kB / 0.5055 GB, free: 9.762 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3973, allocations: 7.859 kB / 0.5055 GB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3974, allocations: 3.906 kB / 0.5055 GB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3974, allocations: 3.984 kB / 0.5055 GB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.02e-05/0.3974, allocations: 11.72 kB / 0.5055 GB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3974, allocations: 4 kB / 0.5055 GB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.377e-05/0.3975, allocations: 10.25 kB / 0.5055 GB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.3975, allocations: 3.906 kB / 0.5055 GB, free: 9.746 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 () * 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 4.273e-05/0.3975, allocations: 104.8 kB / 0.5056 GB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.818e-05/0.3976, allocations: 68.95 kB / 0.5057 GB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/0.3976, allocations: 16.39 kB / 0.5057 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.3977, allocations: 0 / 0.5057 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3977, allocations: 0 / 0.5057 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.3977, allocations: 0 / 0.5057 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.554e-05/0.3977, allocations: 164.1 kB / 0.5058 GB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3977, allocations: 0 / 0.5058 GB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.803e-05/0.3978, allocations: 6.453 kB / 0.5058 GB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3978, allocations: 0 / 0.5058 GB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.3978, allocations: 3.656 kB / 0.5059 GB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3978, allocations: 3.953 kB / 0.5059 GB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3978, allocations: 4 kB / 0.5059 GB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.3979, allocations: 95.86 kB / 0.506 GB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/0.398, allocations: 77.11 kB / 0.506 GB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.398, allocations: 3.531 kB / 0.506 GB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.932e-05/0.3981, allocations: 13.36 kB / 0.506 GB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-06/0.3981, allocations: 3.953 kB / 0.506 GB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.3981, allocations: 7.812 kB / 0.5061 GB, free: 9.219 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.066e-05/0.3982, allocations: 85.86 kB / 0.5061 GB, free: 9.145 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3982, allocations: 3.938 kB / 0.5061 GB, free: 9.141 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001818/0.3983, allocations: 10.58 kB / 0.5061 GB, free: 9.141 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 () * 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 9.602e-05/0.3984, allocations: 97.97 kB / 0.5062 GB, free: 9.055 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.61e-05/0.3986, allocations: 38.06 kB / 0.5063 GB, free: 9.047 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3986, allocations: 384 / 0.5063 GB, free: 9.047 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.3986, allocations: 4 kB / 0.5063 GB, free: 9.043 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.3988, allocations: 38.62 kB / 0.5063 GB, free: 9.035 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001814/0.399, allocations: 88.66 kB / 0.5064 GB, free: 8.957 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.38e-05/0.3991, allocations: 0.6892 MB / 0.5071 GB, free: 8.262 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.286e-05/0.3991, allocations: 192 / 0.5071 GB, free: 8.258 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.3992, allocations: 14.28 kB / 0.5071 GB, free: 8.254 MB / 330.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3992, allocations: 4 kB / 0.5071 GB, free: 8.25 MB / 330.7 MB Notification: Performance of Templates: time 0.002176/0.4014, allocations: 0.5726 MB / 0.5077 GB, free: 8.188 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/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