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.002054/0.002054, allocations: 186 kB / 16.44 MB, free: 5.691 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.899/1.899, allocations: 205.4 MB / 222.6 MB, free: 9.129 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.001098/0.001098, allocations: 84.42 kB / 270.9 MB, free: 8.379 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.09913/0.09913, allocations: 12.59 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005451/0.0005452, allocations: 12 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08925/0.08983, allocations: 50.37 MB / 442.3 MB, free: 16.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4208/0.5107, allocations: 78.09 MB / 0.5082 GB, free: 12.72 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.511, allocations: 75.31 kB / 0.5083 GB, free: 12.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005331/0.5164, allocations: 1.3 MB / 0.5096 GB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.5164, allocations: 2.297 kB / 0.5096 GB, free: 12.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.5165, allocations: 3.594 kB / 0.5096 GB, free: 12.36 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.0005538/0.517, allocations: 361.3 kB / 0.5099 GB, free: 12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.5171, allocations: 7.688 kB / 0.5099 GB, free: 12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.5171, allocations: 7.719 kB / 0.5099 GB, free: 12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.5173, allocations: 179.6 kB / 0.5101 GB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.5173, allocations: 4.188 kB / 0.5101 GB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.5174, allocations: 7.828 kB / 0.5101 GB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.5178, allocations: 147.7 kB / 0.5103 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.5178, allocations: 0 / 0.5103 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.5179, allocations: 7.797 kB / 0.5103 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.5179, allocations: 1.969 kB / 0.5103 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.518, allocations: 33.8 kB / 0.5103 GB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.5182, allocations: 165.5 kB / 0.5105 GB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.5184, allocations: 137.4 kB / 0.5106 GB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.5185, allocations: 0 / 0.5106 GB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.5185, allocations: 38.42 kB / 0.5106 GB, free: 11.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.5185, allocations: 0 / 0.5106 GB, free: 11.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003457/0.5189, allocations: 89.42 kB / 0.5107 GB, free: 11.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.5189, allocations: 58.62 kB / 0.5108 GB, free: 11.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.161e-05/0.519, allocations: 104.4 kB / 0.5109 GB, free: 11.13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.5191, allocations: 29.58 kB / 0.5109 GB, free: 11.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/0.5191, allocations: 150.6 kB / 0.511 GB, free: 10.95 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.5191, allocations: 11.73 kB / 0.5111 GB, free: 10.94 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.5191, allocations: 7 kB / 0.5111 GB, free: 10.94 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.706e-05/0.5192, allocations: 314.8 kB / 0.5114 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.5192, allocations: 6.969 kB / 0.5114 GB, free: 10.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.448e-05/0.5193, allocations: 48.27 kB / 0.5114 GB, free: 10.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.749e-05/0.5193, allocations: 19.25 kB / 0.5114 GB, free: 10.56 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5193, allocations: 0 / 0.5114 GB, free: 10.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001232/0.5195, allocations: 75.22 kB / 0.5115 GB, free: 10.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.5195, allocations: 7.812 kB / 0.5115 GB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5195, allocations: 3.953 kB / 0.5115 GB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.5195, allocations: 3.75 kB / 0.5115 GB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.779e-05/0.5196, allocations: 3.812 kB / 0.5115 GB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.5196, allocations: 4.094 kB / 0.5115 GB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.5197, allocations: 7.984 kB / 0.5115 GB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.5197, allocations: 3.812 kB / 0.5115 GB, free: 10.5 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 7.341e-05/0.5198, allocations: 125.4 kB / 0.5117 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.52, allocations: 71.06 kB / 0.5117 GB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/0.52, allocations: 7.812 kB / 0.5117 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.5201, allocations: 7.938 kB / 0.5117 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.5201, allocations: 0 / 0.5117 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5201, allocations: 4 kB / 0.5117 GB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.899e-05/0.5202, allocations: 168 kB / 0.5119 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5202, allocations: 0 / 0.5119 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.871e-05/0.5203, allocations: 11.83 kB / 0.5119 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.5203, allocations: 3.812 kB / 0.5119 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.5203, allocations: 0 / 0.5119 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.5203, allocations: 0 / 0.5119 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5203, allocations: 3.953 kB / 0.5119 GB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.5206, allocations: 98.52 kB / 0.512 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.5206, allocations: 84.92 kB / 0.5121 GB, free: 9.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.5206, allocations: 0 / 0.5121 GB, free: 9.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.5208, allocations: 14.7 kB / 0.5121 GB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.298e-06/0.5208, allocations: 3.938 kB / 0.5121 GB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.5208, allocations: 7.953 kB / 0.5121 GB, free: 9.918 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.51e-05/0.5209, allocations: 90.45 kB / 0.5122 GB, free: 9.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5209, allocations: 0 / 0.5122 GB, free: 9.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002841/0.5212, allocations: 11.75 kB / 0.5122 GB, free: 9.836 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 9.309e-05/0.5213, allocations: 94.41 kB / 0.5123 GB, free: 9.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.5215, allocations: 45.48 kB / 0.5124 GB, free: 9.734 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5215, allocations: 3.875 kB / 0.5124 GB, free: 9.734 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.5215, allocations: 0 / 0.5124 GB, free: 9.734 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.5219, allocations: 46.09 kB / 0.5124 GB, free: 9.719 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003524/0.5223, allocations: 167.5 kB / 0.5126 GB, free: 9.562 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.5224, allocations: 0.6883 MB / 0.5132 GB, free: 8.859 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.5225, allocations: 14.66 kB / 0.5132 GB, free: 8.855 MB / 330.7 MB Notification: Performance of SimCode: time 7.41e-07/0.5225, allocations: 0 / 0.5132 GB, free: 8.855 MB / 330.7 MB Notification: Performance of Templates: time 0.002385/0.5249, allocations: 0.742 MB / 0.514 GB, free: 8.496 MB / 330.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