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.0009255/0.0009253, allocations: 174.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.31/1.31, allocations: 205.4 MB / 222.6 MB, free: 9.105 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.0007325/0.0007325, allocations: 81.34 kB / 270.9 MB, free: 8.355 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.06467/0.06467, allocations: 12.6 MB / 331.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004998/0.0004998, allocations: 12 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06872/0.06924, allocations: 50.37 MB / 442.4 MB, free: 16.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001111/0.07038, allocations: 1.132 MB / 443.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001461/0.07055, allocations: 43.84 kB / 443.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.07061, allocations: 0 / 443.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.228e-05/0.07063, allocations: 0 / 443.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.266e-05/0.07067, allocations: 3.938 kB / 443.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.07087, allocations: 15.98 kB / 443.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.615e-05/0.07093, allocations: 23.92 kB / 443.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.719e-05/0.07101, allocations: 15.91 kB / 443.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.719e-05/0.07104, allocations: 11.98 kB / 443.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.512e-05/0.07108, allocations: 11.92 kB / 443.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.0711, allocations: 0 / 443.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.696e-06/0.07111, allocations: 8 kB / 443.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.07113, allocations: 4 kB / 443.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.07115, allocations: 29.64 kB / 443.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.604e-05/0.0712, allocations: 23.97 kB / 443.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.07121, allocations: 0 / 443.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.07122, allocations: 0 / 443.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.07123, allocations: 0 / 443.7 MB, free: 15.12 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.0002537/0.07149, allocations: 335.5 kB / 444 MB, free: 14.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.07152, allocations: 8.031 kB / 444 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.07155, allocations: 3.906 kB / 444 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.07167, allocations: 179 kB / 444.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.0717, allocations: 7.938 kB / 444.2 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.07171, allocations: 3.953 kB / 444.2 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.07198, allocations: 119.2 kB / 444.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.072, allocations: 0 / 444.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.413e-06/0.07201, allocations: 0 / 444.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.07202, allocations: 0 / 444.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.408e-05/0.07212, allocations: 23.98 kB / 444.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.108e-05/0.07221, allocations: 157.7 kB / 444.5 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.07232, allocations: 46.56 kB / 444.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.926e-05/0.07239, allocations: 28.92 kB / 444.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.07241, allocations: 3.953 kB / 444.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/0.07243, allocations: 38.5 kB / 444.6 MB, free: 14.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.07243, allocations: 4 kB / 444.6 MB, free: 14.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002147/0.07265, allocations: 77.56 kB / 444.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.0727, allocations: 55.41 kB / 444.8 MB, free: 13.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.72e-05/0.07275, allocations: 101.8 kB / 444.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.07276, allocations: 25.7 kB / 444.9 MB, free: 13.72 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.721e-05/0.07279, allocations: 88.14 kB / 445 MB, free: 13.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.336e-06/0.0728, allocations: 0 / 445 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/0.07281, allocations: 0 / 445 MB, free: 13.63 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.69e-05/0.07288, allocations: 318.8 kB / 445.3 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.0729, allocations: 8 kB / 445.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.07292, allocations: 27.38 kB / 445.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.884e-05/0.07295, allocations: 12 kB / 445.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.07296, allocations: 0 / 445.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.334e-05/0.07302, allocations: 61.62 kB / 445.4 MB, free: 13.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.07304, allocations: 11.95 kB / 445.4 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.07305, allocations: 3.938 kB / 445.4 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.07307, allocations: 0 / 445.4 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.786e-05/0.07312, allocations: 7.938 kB / 445.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-06/0.07313, allocations: 7.984 kB / 445.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.07316, allocations: 7.844 kB / 445.4 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.07317, allocations: 4 kB / 445.4 MB, free: 13.14 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.859e-05/0.07322, allocations: 117.8 kB / 445.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.07334, allocations: 62.05 kB / 445.6 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.005e-05/0.07337, allocations: 11.69 kB / 445.6 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.07337, allocations: 0 / 445.6 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.07338, allocations: 3.984 kB / 445.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.07339, allocations: 4 kB / 445.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.994e-05/0.07344, allocations: 161.6 kB / 445.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.07345, allocations: 0 / 445.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.002e-05/0.07348, allocations: 7.938 kB / 445.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.07349, allocations: 0 / 445.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-06/0.0735, allocations: 4 kB / 445.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.07351, allocations: 3.953 kB / 445.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.07352, allocations: 4 kB / 445.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.07364, allocations: 81.11 kB / 445.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.586e-05/0.07367, allocations: 85.02 kB / 446 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.07369, allocations: 3.984 kB / 446 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.755e-05/0.07372, allocations: 4 kB / 446 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-06/0.07373, allocations: 3.953 kB / 446 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.07374, allocations: 8 kB / 446 MB, free: 12.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.919e-05/0.07376, allocations: 79.28 kB / 446.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07377, allocations: 0 / 446.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001695/0.07394, allocations: 4 kB / 446.1 MB, free: 12.4 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.689e-05/0.074, allocations: 107.2 kB / 446.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.07411, allocations: 27.98 kB / 446.2 MB, free: 12.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.07412, allocations: 0 / 446.2 MB, free: 12.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.07413, allocations: 256 / 446.2 MB, free: 12.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.07433, allocations: 31.92 kB / 446.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002154/0.07456, allocations: 142.4 kB / 446.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.112e-05/0.07465, allocations: 0.6809 MB / 447 MB, free: 11.35 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.07467, allocations: 11.44 kB / 447.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.07468, allocations: 3.938 kB / 447.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of Templates: time 0.001632/0.07632, allocations: 0.5901 MB / 447.7 MB, free: 10.74 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