Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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_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_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.001497/0.001497, allocations: 181 kB / 15.8 MB, free: 6.336 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.63/1.63, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0009599/0.0009596, allocations: 90.88 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08526/0.08526, allocations: 12.61 MB / 331.1 MB, free: 10.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004399/0.0004399, allocations: 15.97 kB / 392 MB, free: 54.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1191, allocations: 50.37 MB / 442.4 MB, free: 10.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.115/0.2342, allocations: 77.32 MB / 0.5075 GB, free: 13.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.2345, allocations: 75.95 kB / 0.5076 GB, free: 13.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002047/0.2366, allocations: 0.7459 MB / 0.5083 GB, free: 12.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.2366, allocations: 3.938 kB / 0.5083 GB, free: 12.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.2366, allocations: 0 / 0.5083 GB, free: 12.68 MB / 362.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.0004531/0.2371, allocations: 331.3 kB / 0.5086 GB, free: 12.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.2372, allocations: 12.02 kB / 0.5086 GB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.2372, allocations: 11.91 kB / 0.5087 GB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.2375, allocations: 171.3 kB / 0.5088 GB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.2375, allocations: 0 / 0.5088 GB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.2375, allocations: 7.953 kB / 0.5088 GB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.2379, allocations: 119.2 kB / 0.5089 GB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2379, allocations: 0 / 0.5089 GB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.2379, allocations: 0 / 0.5089 GB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.238, allocations: 4 kB / 0.5089 GB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.2381, allocations: 23.98 kB / 0.509 GB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.2383, allocations: 157.7 kB / 0.5091 GB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.2384, allocations: 50.55 kB / 0.5092 GB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.2384, allocations: 0 / 0.5092 GB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.2385, allocations: 38.45 kB / 0.5092 GB, free: 11.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.2385, allocations: 4 kB / 0.5092 GB, free: 11.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002813/0.2388, allocations: 77.83 kB / 0.5093 GB, free: 11.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.2389, allocations: 55.41 kB / 0.5093 GB, free: 11.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.725e-05/0.239, allocations: 96.98 kB / 0.5094 GB, free: 11.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.239, allocations: 29.7 kB / 0.5095 GB, free: 11.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.239, allocations: 80.14 kB / 0.5095 GB, free: 11.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.2391, allocations: 7.844 kB / 0.5095 GB, free: 11.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-06/0.2391, allocations: 0 / 0.5095 GB, free: 11.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.2392, allocations: 318.8 kB / 0.5098 GB, free: 10.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.2392, allocations: 7.984 kB / 0.5098 GB, free: 10.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.053e-05/0.2393, allocations: 31.38 kB / 0.5099 GB, free: 10.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.507e-05/0.2393, allocations: 12 kB / 0.5099 GB, free: 10.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2393, allocations: 0 / 0.5099 GB, free: 10.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.8e-05/0.2394, allocations: 61.56 kB / 0.5099 GB, free: 10.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2394, allocations: 8 kB / 0.51 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.2394, allocations: 3.953 kB / 0.51 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.2395, allocations: 0 / 0.51 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.2395, allocations: 7.938 kB / 0.51 GB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.2396, allocations: 4 kB / 0.51 GB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.084e-05/0.2396, allocations: 4 kB / 0.51 GB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.2396, allocations: 4 kB / 0.51 GB, free: 10.75 MB / 362.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 0.0001077/0.2397, allocations: 125.7 kB / 0.5101 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.2398, allocations: 61.59 kB / 0.5102 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.2399, allocations: 7.484 kB / 0.5102 GB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.2399, allocations: 3.953 kB / 0.5102 GB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2399, allocations: 0 / 0.5102 GB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2399, allocations: 0 / 0.5102 GB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.2401, allocations: 153.7 kB / 0.5103 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.2401, allocations: 0 / 0.5103 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.2401, allocations: 11.92 kB / 0.5103 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.2401, allocations: 0 / 0.5103 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.2401, allocations: 8 kB / 0.5103 GB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.2401, allocations: 4 kB / 0.5103 GB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2401, allocations: 4.328 kB / 0.5103 GB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.2403, allocations: 81.11 kB / 0.5104 GB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.2404, allocations: 81.11 kB / 0.5105 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.2404, allocations: 0 / 0.5105 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.505e-05/0.2404, allocations: 11.98 kB / 0.5105 GB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-06/0.2405, allocations: 3.938 kB / 0.5105 GB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.2405, allocations: 7.953 kB / 0.5105 GB, free: 10.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.382e-05/0.2405, allocations: 83.28 kB / 0.5106 GB, free: 10 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2405, allocations: 0 / 0.5106 GB, free: 10 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001694/0.2407, allocations: 4 kB / 0.5106 GB, free: 10 MB / 362.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 0.0001408/0.2408, allocations: 95.19 kB / 0.5107 GB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.241, allocations: 27.98 kB / 0.5107 GB, free: 9.871 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.241, allocations: 0 / 0.5107 GB, free: 9.871 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.241, allocations: 256 / 0.5107 GB, free: 9.871 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.2412, allocations: 39.62 kB / 0.5108 GB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.2416, allocations: 117.2 kB / 0.5109 GB, free: 9.688 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.2419, allocations: 0.6887 MB / 0.5115 GB, free: 8.973 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.589e-05/0.2419, allocations: 4 kB / 0.5115 GB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.242, allocations: 7.438 kB / 0.5116 GB, free: 8.961 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.242, allocations: 0 / 0.5116 GB, free: 8.961 MB / 362.7 MB Notification: Performance of Templates: time 0.002434/0.2444, allocations: 336.3 kB / 0.5119 GB, free: 8.641 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_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_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches