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.001563/0.001563, allocations: 178.3 kB / 8.402 MB, free: 0.6719 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.3 MB / 214.1 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 78.25 kB / 262.1 MB, free: 1.625 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.09883/0.09883, allocations: 12.6 MB / 322.7 MB, free: 15.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.953e-05/1.967e-05, allocations: 4 kB / 378.9 MB, free: 6.875 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3109, allocations: 50.37 MB / 429.3 MB, free: 18.41 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1343/0.4453, allocations: 77.33 MB / 0.4947 GB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.4457, allocations: 79.95 kB / 0.4948 GB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005861/0.4516, allocations: 1.283 MB / 0.4961 GB, free: 3.617 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4516, allocations: 0 / 0.4961 GB, free: 3.617 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.4516, allocations: 4 kB / 0.4961 GB, free: 3.613 MB / 346.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.0005634/0.4522, allocations: 350.4 kB / 0.4964 GB, free: 3.227 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.4523, allocations: 15.97 kB / 0.4964 GB, free: 3.211 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.4523, allocations: 4 kB / 0.4964 GB, free: 3.207 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.4526, allocations: 182.9 kB / 0.4966 GB, free: 2.988 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.4526, allocations: 3.938 kB / 0.4966 GB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.4526, allocations: 7.953 kB / 0.4966 GB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001228/0.4528, allocations: 31.98 kB / 0.4966 GB, free: 2.945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.4531, allocations: 111.3 kB / 0.4967 GB, free: 2.824 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.4531, allocations: 0 / 0.4967 GB, free: 2.824 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.4531, allocations: 0 / 0.4967 GB, free: 2.824 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.4532, allocations: 8 kB / 0.4968 GB, free: 2.816 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.4533, allocations: 142.2 kB / 0.4969 GB, free: 2.641 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.4535, allocations: 119.8 kB / 0.497 GB, free: 2.496 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.888e-05/0.4536, allocations: 24.98 kB / 0.497 GB, free: 2.469 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.4536, allocations: 3.938 kB / 0.497 GB, free: 2.465 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.4537, allocations: 42.5 kB / 0.4971 GB, free: 2.414 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.4537, allocations: 4 kB / 0.4971 GB, free: 2.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.000191/0.4539, allocations: 53.61 kB / 0.4971 GB, free: 2.352 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.454, allocations: 55.41 kB / 0.4972 GB, free: 2.285 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.4541, allocations: 105 kB / 0.4973 GB, free: 2.176 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.4541, allocations: 25.7 kB / 0.4973 GB, free: 2.145 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.4542, allocations: 154.6 kB / 0.4975 GB, free: 1.992 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.4542, allocations: 0 / 0.4975 GB, free: 1.992 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.4542, allocations: 0 / 0.4975 GB, free: 1.992 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4544, allocations: 326.8 kB / 0.4978 GB, free: 1.664 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.4544, allocations: 4 kB / 0.4978 GB, free: 1.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.169e-05/0.4545, allocations: 41.09 kB / 0.4978 GB, free: 1.602 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.355e-05/0.4545, allocations: 16 kB / 0.4978 GB, free: 1.586 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4545, allocations: 0 / 0.4978 GB, free: 1.586 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001341/0.4547, allocations: 57.62 kB / 0.4979 GB, free: 1.523 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.4547, allocations: 11.94 kB / 0.4979 GB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4547, allocations: 3.938 kB / 0.4979 GB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.4548, allocations: 7.953 kB / 0.4979 GB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.79e-05/0.4548, allocations: 7.984 kB / 0.4979 GB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.4549, allocations: 8.125 kB / 0.4979 GB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.655e-05/0.4549, allocations: 4 kB / 0.4979 GB, free: 1.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.455, allocations: 8.062 kB / 0.4979 GB, free: 1.473 MB / 346.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 0.0001005/0.4551, allocations: 105 kB / 0.498 GB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.4552, allocations: 61.53 kB / 0.4981 GB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/0.4552, allocations: 8.625 kB / 0.4981 GB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.4553, allocations: 3.984 kB / 0.4981 GB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.4553, allocations: 7.953 kB / 0.4981 GB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4553, allocations: 0 / 0.4981 GB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.4554, allocations: 138.2 kB / 0.4982 GB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4554, allocations: 4 kB / 0.4982 GB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.117e-05/0.4555, allocations: 7.984 kB / 0.4982 GB, free: 1.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4555, allocations: 0 / 0.4982 GB, free: 1.098 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.4556, allocations: 4 kB / 0.4983 GB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4556, allocations: 0 / 0.4983 GB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.4556, allocations: 0 / 0.4983 GB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.4558, allocations: 92.92 kB / 0.4983 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.4558, allocations: 81.09 kB / 0.4984 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.4559, allocations: 8 kB / 0.4984 GB, free: 0.8789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.456, allocations: 11.98 kB / 0.4984 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-06/0.456, allocations: 0 / 0.4984 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.456, allocations: 0 / 0.4984 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.98e-05/0.4561, allocations: 91.73 kB / 0.4985 GB, free: 0.7773 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4561, allocations: 0 / 0.4985 GB, free: 0.7773 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002741/0.4564, allocations: 8 kB / 0.4985 GB, free: 0.7695 MB / 346.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 0.0001279/0.4565, allocations: 95.25 kB / 0.4986 GB, free: 0.6641 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.4567, allocations: 35.92 kB / 0.4987 GB, free: 0.6289 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4567, allocations: 0 / 0.4987 GB, free: 0.6289 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.4567, allocations: 0 / 0.4987 GB, free: 0.6289 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.4571, allocations: 35.61 kB / 0.4987 GB, free: 0.5977 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/0.4574, allocations: 117.6 kB / 0.4988 GB, free: 464 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.4577, allocations: 0.6927 MB / 0.4995 GB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.644e-05/0.4577, allocations: 11.38 kB / 0.4995 GB, free: 15.72 MB / 362.7 MB Notification: Performance of SimCode: time 8.71e-07/0.4577, allocations: 4 kB / 0.4995 GB, free: 15.72 MB / 362.7 MB Notification: Performance of Templates: time 0.002876/0.4606, allocations: 0.7246 MB / 0.5002 GB, free: 15 MB / 362.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