Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 176.8 kB / 16.77 MB, free: 5.047 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.642/1.642, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.000871/0.0008709, allocations: 84.92 kB / 271.3 MB, free: 8.242 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.07243/0.07243, allocations: 12.6 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003841, allocations: 12 kB / 392.6 MB, free: 66.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06993/0.07032, allocations: 50.37 MB / 443 MB, free: 16.14 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001132/0.0715, allocations: 1.136 MB / 444.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001385/0.07165, allocations: 31.84 kB / 444.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/0.07171, allocations: 4 kB / 444.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.482e-05/0.07173, allocations: 4 kB / 444.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.955e-05/0.07176, allocations: 0 / 444.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.07198, allocations: 31.92 kB / 444.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.556e-05/0.07205, allocations: 23.92 kB / 444.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.117e-05/0.07213, allocations: 7.984 kB / 444.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.705e-05/0.07217, allocations: 8 kB / 444.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.825e-05/0.07221, allocations: 11.92 kB / 444.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.07223, allocations: 0 / 444.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-06/0.07224, allocations: 0 / 444.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.07226, allocations: 8 kB / 444.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.0723, allocations: 33.64 kB / 444.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.948e-05/0.07235, allocations: 23.94 kB / 444.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.07236, allocations: 4 kB / 444.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.07237, allocations: 3.938 kB / 444.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.07238, allocations: 0 / 444.3 MB, free: 14.79 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002746/0.07266, allocations: 331.7 kB / 444.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.07269, allocations: 12.03 kB / 444.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.475e-05/0.07272, allocations: 4.844 kB / 444.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.07283, allocations: 176.3 kB / 444.8 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.07286, allocations: 12.31 kB / 444.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.07288, allocations: 4.375 kB / 444.8 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.07314, allocations: 115.8 kB / 444.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.07316, allocations: 4.188 kB / 444.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.07317, allocations: 3.938 kB / 444.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.07318, allocations: 3.984 kB / 444.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.438e-05/0.07327, allocations: 15.98 kB / 444.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.315e-05/0.07336, allocations: 165.6 kB / 445.1 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.07348, allocations: 46.55 kB / 445.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.833e-05/0.07355, allocations: 28.92 kB / 445.2 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.07357, allocations: 4 kB / 445.2 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.274e-05/0.07359, allocations: 30.56 kB / 445.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.07359, allocations: 0 / 445.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002021/0.0738, allocations: 85.45 kB / 445.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.07384, allocations: 59.39 kB / 445.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.598e-05/0.07389, allocations: 101.9 kB / 445.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.101e-06/0.0739, allocations: 25.7 kB / 445.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.713e-05/0.07393, allocations: 92.12 kB / 445.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.637e-06/0.07394, allocations: 0 / 445.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-06/0.07395, allocations: 0 / 445.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.742e-05/0.07399, allocations: 314.8 kB / 445.9 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-06/0.074, allocations: 8 kB / 445.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.882e-05/0.07403, allocations: 31.42 kB / 445.9 MB, free: 12.92 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.929e-05/0.07406, allocations: 35.38 kB / 446 MB, free: 12.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.07407, allocations: 4 kB / 446 MB, free: 12.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.378e-05/0.07414, allocations: 61.53 kB / 446 MB, free: 12.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.07416, allocations: 4 kB / 446 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.07417, allocations: 7.875 kB / 446 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.07418, allocations: 4 kB / 446 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.424e-05/0.07423, allocations: 4 kB / 446 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.07424, allocations: 0 / 446 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.017e-05/0.07427, allocations: 7.938 kB / 446 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-06/0.07428, allocations: 4.125 kB / 446.1 MB, free: 12.77 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.41e-05/0.07433, allocations: 121.6 kB / 446.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.07444, allocations: 65.61 kB / 446.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.727e-05/0.07447, allocations: 7.438 kB / 446.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.07447, allocations: 240 / 446.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.07448, allocations: 7.984 kB / 446.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.07449, allocations: 3.984 kB / 446.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.559e-05/0.07454, allocations: 157.6 kB / 446.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.07455, allocations: 0 / 446.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.07458, allocations: 0 / 446.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.07459, allocations: 11.98 kB / 446.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.0746, allocations: 7.938 kB / 446.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.0746, allocations: 0 / 446.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.07461, allocations: 0 / 446.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.07473, allocations: 89.02 kB / 446.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.07475, allocations: 77.11 kB / 446.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.07477, allocations: 3.938 kB / 446.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.503e-05/0.0748, allocations: 4 kB / 446.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-06/0.07481, allocations: 4 kB / 446.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.07482, allocations: 7.922 kB / 446.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.898e-05/0.07484, allocations: 83.66 kB / 446.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07485, allocations: 0 / 446.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001691/0.07502, allocations: 4 kB / 446.7 MB, free: 12.02 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 5.522e-05/0.07508, allocations: 95.25 kB / 446.8 MB, free: 11.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.893e-05/0.07519, allocations: 23.98 kB / 446.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.0752, allocations: 8.188 kB / 446.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.0752, allocations: 0 / 446.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.0754, allocations: 32.02 kB / 446.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002048/0.07562, allocations: 142.3 kB / 447 MB, free: 11.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.003e-05/0.07571, allocations: 0.6809 MB / 447.7 MB, free: 10.97 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.794e-05/0.07573, allocations: 7.438 kB / 447.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.07574, allocations: 0 / 447.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of Templates: time 0.001382/0.07713, allocations: 0.5961 MB / 448.3 MB, free: 10.37 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches