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.0008759/0.0008757, allocations: 175.9 kB / 16.45 MB, free: 5.684 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.444/1.444, allocations: 205.4 MB / 222.6 MB, free: 9.023 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.0007935/0.0007935, allocations: 86.25 kB / 270.9 MB, free: 8.352 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.08253/0.08253, allocations: 12.59 MB / 331.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004165/0.0004164, allocations: 12 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0907/0.09114, allocations: 50.37 MB / 442.4 MB, free: 16.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.00137/0.09255, allocations: 1.183 MB / 443.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006363/0.09321, allocations: 480.1 kB / 444 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.286e-05/0.09328, allocations: 0 / 444 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/0.09331, allocations: 3.984 kB / 444 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.09346, allocations: 7.938 kB / 444 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.09364, allocations: 31.91 kB / 444.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.728e-05/0.09372, allocations: 47.84 kB / 444.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.859e-05/0.09381, allocations: 15.98 kB / 444.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.743e-05/0.09388, allocations: 19.92 kB / 444.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.201e-05/0.09393, allocations: 11.92 kB / 444.2 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.09395, allocations: 11.88 kB / 444.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.09397, allocations: 0 / 444.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.09399, allocations: 8 kB / 444.2 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.09401, allocations: 33.69 kB / 444.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.35e-05/0.09408, allocations: 32.16 kB / 444.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.09409, allocations: 0 / 444.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.0941, allocations: 0 / 444.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.09411, allocations: 3.938 kB / 444.3 MB, free: 14.55 MB / 298.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.0004525/0.09457, allocations: 375.1 kB / 444.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.09461, allocations: 8.031 kB / 444.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.09464, allocations: 4 kB / 444.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.0948, allocations: 182.9 kB / 444.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.09482, allocations: 0 / 444.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.09484, allocations: 15.98 kB / 444.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.09516, allocations: 135.2 kB / 445 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.09519, allocations: 0 / 445 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.0952, allocations: 0 / 445 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.09522, allocations: 3.984 kB / 445 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.09532, allocations: 35.92 kB / 445 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001063/0.09544, allocations: 165.7 kB / 445.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.09562, allocations: 139.7 kB / 445.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/0.0957, allocations: 32.84 kB / 445.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.09573, allocations: 3.984 kB / 445.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.435e-05/0.09575, allocations: 34.56 kB / 445.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.09576, allocations: 0 / 445.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002297/0.09599, allocations: 89.61 kB / 445.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.09604, allocations: 59.31 kB / 445.5 MB, free: 13.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.274e-05/0.09611, allocations: 109.8 kB / 445.6 MB, free: 12.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.974e-06/0.09612, allocations: 25.7 kB / 445.6 MB, free: 12.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.131e-05/0.09615, allocations: 96.08 kB / 445.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.09617, allocations: 3.984 kB / 445.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.09618, allocations: 0 / 445.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.315e-05/0.09622, allocations: 318.8 kB / 446 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.322e-05/0.09624, allocations: 4 kB / 446.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.398e-05/0.09627, allocations: 41.14 kB / 446.1 MB, free: 12.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.485e-05/0.0963, allocations: 19.94 kB / 446.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.09631, allocations: 3.938 kB / 446.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.043e-05/0.0964, allocations: 77.52 kB / 446.2 MB, free: 12.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.09641, allocations: 4.188 kB / 446.2 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.09642, allocations: 4 kB / 446.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.09644, allocations: 4 kB / 446.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.358e-05/0.09649, allocations: 12.23 kB / 446.2 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.0965, allocations: 0 / 446.2 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.09654, allocations: 19.84 kB / 446.2 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.09655, allocations: 0 / 446.2 MB, free: 12.31 MB / 298.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 5.362e-05/0.09661, allocations: 122.4 kB / 446.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.09673, allocations: 69.64 kB / 446.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.09677, allocations: 16.36 kB / 446.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.09677, allocations: 0 / 446.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.09678, allocations: 0 / 446.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.09679, allocations: 0 / 446.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.686e-05/0.09685, allocations: 165.7 kB / 446.6 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.09686, allocations: 0 / 446.6 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.978e-05/0.09692, allocations: 7.984 kB / 446.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.09694, allocations: 3.953 kB / 446.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.09695, allocations: 4 kB / 446.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.09696, allocations: 0 / 446.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.09696, allocations: 7.938 kB / 446.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.09711, allocations: 97.02 kB / 446.7 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/0.09714, allocations: 85.02 kB / 446.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.09716, allocations: 7.953 kB / 446.8 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.221e-05/0.09725, allocations: 11.98 kB / 446.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-06/0.09726, allocations: 4 kB / 446.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.09727, allocations: 3.938 kB / 446.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.622e-05/0.0973, allocations: 91.73 kB / 446.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09731, allocations: 0 / 446.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001834/0.09749, allocations: 8 kB / 446.9 MB, free: 11.52 MB / 298.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 6.655e-05/0.09757, allocations: 95.25 kB / 447 MB, free: 11.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.0977, allocations: 40.36 kB / 447.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.09771, allocations: 4.062 kB / 447.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.09771, allocations: 0 / 447.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.09803, allocations: 47.95 kB / 447.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.09831, allocations: 174.3 kB / 447.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.09843, allocations: 0.6926 MB / 448 MB, free: 10.4 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.09846, allocations: 7.438 kB / 448 MB, free: 10.39 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.09847, allocations: 3.938 kB / 448 MB, free: 10.39 MB / 298.7 MB Notification: Performance of Templates: time 0.001713/0.1002, allocations: 0.753 MB / 448.7 MB, free: 9.641 MB / 298.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/jenkins/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