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.002441/0.002441, allocations: 177.7 kB / 8.045 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.358/2.358, allocations: 205.3 MB / 213.8 MB, free: 13.76 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.001115/0.001115, allocations: 101.4 kB / 261.8 MB, free: 13.45 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.1662/0.1662, allocations: 12.59 MB / 322.3 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.879e-05/1.889e-05, allocations: 0 / 378.9 MB, free: 75.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1278, allocations: 50.38 MB / 429.3 MB, free: 24.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4596/0.5874, allocations: 76.58 MB / 0.494 GB, free: 11.99 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.5877, allocations: 70.95 kB / 0.4941 GB, free: 11.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002256/0.59, allocations: 0.7342 MB / 0.4948 GB, free: 11.67 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.59, allocations: 0 / 0.4948 GB, free: 11.67 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.5901, allocations: 0 / 0.4948 GB, free: 11.67 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002785/0.5904, allocations: 333.4 kB / 0.4951 GB, free: 11.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.5904, allocations: 11.66 kB / 0.4951 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.5905, allocations: 3.75 kB / 0.4951 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.5906, allocations: 171.5 kB / 0.4953 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.5907, allocations: 0 / 0.4953 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.5907, allocations: 7.891 kB / 0.4953 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.259e-05/0.5908, allocations: 14.47 kB / 0.4953 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.591, allocations: 88.81 kB / 0.4954 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.591, allocations: 4 kB / 0.4954 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.591, allocations: 0 / 0.4954 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.5911, allocations: 0 / 0.4954 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001073/0.5912, allocations: 138.8 kB / 0.4956 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.361e-05/0.5913, allocations: 32.95 kB / 0.4956 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.897e-05/0.5913, allocations: 18.92 kB / 0.4956 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.5914, allocations: 3.938 kB / 0.4956 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.5914, allocations: 46.2 kB / 0.4957 GB, free: 10.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.914e-06/0.5914, allocations: 0 / 0.4957 GB, free: 10.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001332/0.5915, allocations: 47.69 kB / 0.4957 GB, free: 10.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.5916, allocations: 51.41 kB / 0.4957 GB, free: 10.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.667e-05/0.5917, allocations: 99 kB / 0.4958 GB, free: 10.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.5917, allocations: 25.7 kB / 0.4959 GB, free: 10.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.188e-05/0.5917, allocations: 84.02 kB / 0.4959 GB, free: 10.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.109e-05/0.5917, allocations: 0 / 0.4959 GB, free: 10.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.5917, allocations: 4 kB / 0.4959 GB, free: 10.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.914e-05/0.5918, allocations: 317.3 kB / 0.4963 GB, free: 10.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.5918, allocations: 3.875 kB / 0.4963 GB, free: 10.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.682e-05/0.5919, allocations: 27.66 kB / 0.4963 GB, free: 10.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.514e-05/0.5919, allocations: 14.77 kB / 0.4963 GB, free: 10.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.5919, allocations: 4 kB / 0.4963 GB, free: 10.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.105e-05/0.592, allocations: 54.31 kB / 0.4964 GB, free: 10.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.592, allocations: 3.969 kB / 0.4964 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5921, allocations: 3.875 kB / 0.4964 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.5921, allocations: 3.953 kB / 0.4964 GB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.403e-05/0.5921, allocations: 3.875 kB / 0.4964 GB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.5922, allocations: 0 / 0.4964 GB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/0.5922, allocations: 3.938 kB / 0.4964 GB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.5922, allocations: 4.125 kB / 0.4964 GB, free: 10.12 MB / 330.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 () * 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 5.592e-05/0.5923, allocations: 117.4 kB / 0.4965 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/0.5924, allocations: 47.08 kB / 0.4965 GB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.5924, allocations: 4.125 kB / 0.4965 GB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.5924, allocations: 96 / 0.4965 GB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5924, allocations: 7.938 kB / 0.4965 GB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.5924, allocations: 0 / 0.4965 GB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.732e-05/0.5925, allocations: 139.2 kB / 0.4967 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5925, allocations: 0 / 0.4967 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.216e-05/0.5926, allocations: 10.41 kB / 0.4967 GB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5926, allocations: 0 / 0.4967 GB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.5926, allocations: 0 / 0.4967 GB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.5926, allocations: 3.844 kB / 0.4967 GB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5926, allocations: 0.875 kB / 0.4967 GB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.547e-05/0.5927, allocations: 80.84 kB / 0.4968 GB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/0.5928, allocations: 77.11 kB / 0.4968 GB, free: 9.629 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.5928, allocations: 6.797 kB / 0.4968 GB, free: 9.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.738e-05/0.5929, allocations: 4 kB / 0.4969 GB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-06/0.5929, allocations: 0 / 0.4969 GB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.5929, allocations: 3.719 kB / 0.4969 GB, free: 9.625 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.78e-05/0.5929, allocations: 84.62 kB / 0.4969 GB, free: 9.551 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5929, allocations: 0 / 0.4969 GB, free: 9.551 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002572/0.5932, allocations: 3.875 kB / 0.4969 GB, free: 9.551 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * 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 9.406e-05/0.5933, allocations: 96.62 kB / 0.497 GB, free: 9.457 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.052e-05/0.5934, allocations: 18.53 kB / 0.497 GB, free: 9.453 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5934, allocations: 4.25 kB / 0.4971 GB, free: 9.449 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-07/0.5934, allocations: 3.719 kB / 0.4971 GB, free: 9.449 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.5936, allocations: 16.62 kB / 0.4971 GB, free: 9.445 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001654/0.5938, allocations: 68.2 kB / 0.4971 GB, free: 9.375 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.5939, allocations: 0.6855 MB / 0.4978 GB, free: 8.676 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.553e-05/0.594, allocations: 2.609 kB / 0.4978 GB, free: 8.676 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.594, allocations: 11.25 kB / 0.4978 GB, free: 8.668 MB / 330.7 MB Notification: Performance of SimCode: time 1.533e-06/0.594, allocations: 0 / 0.4978 GB, free: 8.668 MB / 330.7 MB Notification: Performance of Templates: time 0.002548/0.5966, allocations: 327.5 kB / 0.4981 GB, free: 8.613 MB / 330.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/jenkins1/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