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.001127/0.001127, allocations: 182.3 kB / 13.23 MB, free: 2.086 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.533/1.533, allocations: 205.2 MB / 219 MB, free: 9.211 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.0008329/0.000833, allocations: 90.59 kB / 267.1 MB, free: 9.281 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.0736/0.0736, allocations: 12.58 MB / 327.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.342e-05/3.365e-05, allocations: 7.984 kB / 386 MB, free: 69.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 50.37 MB / 436.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3157/0.4267, allocations: 77.23 MB / 0.5016 GB, free: 12.01 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.427, allocations: 71.53 kB / 0.5016 GB, free: 12.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001676/0.4287, allocations: 0.7463 MB / 0.5024 GB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.4287, allocations: 0 / 0.5024 GB, free: 11.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.4287, allocations: 0 / 0.5024 GB, free: 11.68 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.0002304/0.429, allocations: 329.4 kB / 0.5027 GB, free: 11.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.429, allocations: 14.41 kB / 0.5027 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.429, allocations: 3.844 kB / 0.5027 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.4292, allocations: 173.1 kB / 0.5029 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.4292, allocations: 3.844 kB / 0.5029 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.4292, allocations: 3.953 kB / 0.5029 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.4294, allocations: 92.11 kB / 0.503 GB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.4294, allocations: 0 / 0.503 GB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.4294, allocations: 7.938 kB / 0.503 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.4295, allocations: 0 / 0.503 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.595e-05/0.4295, allocations: 14.19 kB / 0.503 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001003/0.4296, allocations: 157.9 kB / 0.5031 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.224e-05/0.4297, allocations: 41.39 kB / 0.5032 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/0.4297, allocations: 19 kB / 0.5032 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.4298, allocations: 7.891 kB / 0.5032 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.4298, allocations: 34.56 kB / 0.5032 GB, free: 10.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.4298, allocations: 0 / 0.5032 GB, free: 10.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001262/0.4299, allocations: 55 kB / 0.5033 GB, free: 10.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.43, allocations: 55.34 kB / 0.5033 GB, free: 10.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.659e-05/0.4301, allocations: 101.1 kB / 0.5034 GB, free: 10.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.4301, allocations: 25.7 kB / 0.5034 GB, free: 10.58 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.012e-05/0.4301, allocations: 80.14 kB / 0.5035 GB, free: 10.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.4301, allocations: 7.062 kB / 0.5035 GB, free: 10.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.4301, allocations: 4 kB / 0.5035 GB, free: 10.49 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.959e-05/0.4302, allocations: 317.3 kB / 0.5038 GB, free: 10.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.4302, allocations: 3.844 kB / 0.5038 GB, free: 10.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.215e-05/0.4302, allocations: 26.28 kB / 0.5039 GB, free: 10.15 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.975e-05/0.4302, allocations: 11.69 kB / 0.5039 GB, free: 10.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4303, allocations: 0 / 0.5039 GB, free: 10.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.036e-05/0.4303, allocations: 67.33 kB / 0.5039 GB, free: 10.1 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.4304, allocations: 7.797 kB / 0.5039 GB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4304, allocations: 6.844 kB / 0.504 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.4304, allocations: 3.844 kB / 0.504 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.883e-05/0.4304, allocations: 5.656 kB / 0.504 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.4305, allocations: 0 / 0.504 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.4305, allocations: 128 / 0.504 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.4305, allocations: 7.875 kB / 0.504 GB, free: 10.09 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.067e-05/0.4305, allocations: 112.3 kB / 0.5041 GB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.4306, allocations: 47.81 kB / 0.5041 GB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.83e-05/0.4306, allocations: 14.16 kB / 0.5041 GB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.4306, allocations: 0 / 0.5041 GB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4307, allocations: 0 / 0.5041 GB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4307, allocations: 3.875 kB / 0.5041 GB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.101e-05/0.4307, allocations: 154.9 kB / 0.5043 GB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4307, allocations: 3.969 kB / 0.5043 GB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/0.4308, allocations: 6.719 kB / 0.5043 GB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4308, allocations: 7.75 kB / 0.5043 GB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.4308, allocations: 384 / 0.5043 GB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4308, allocations: 3.953 kB / 0.5043 GB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4308, allocations: 0 / 0.5043 GB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.715e-05/0.4309, allocations: 84.45 kB / 0.5044 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.159e-05/0.4309, allocations: 77.11 kB / 0.5045 GB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.431, allocations: 3.875 kB / 0.5045 GB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.112e-05/0.431, allocations: 7.312 kB / 0.5045 GB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-06/0.431, allocations: 6.625 kB / 0.5045 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.431, allocations: 3.844 kB / 0.5045 GB, free: 9.555 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.168e-05/0.431, allocations: 79.12 kB / 0.5046 GB, free: 9.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.431, allocations: 0 / 0.5046 GB, free: 9.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001932/0.4312, allocations: 7.656 kB / 0.5046 GB, free: 9.48 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 8.273e-05/0.4313, allocations: 90.94 kB / 0.5047 GB, free: 9.391 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.37e-05/0.4314, allocations: 29.98 kB / 0.5047 GB, free: 9.383 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4314, allocations: 0 / 0.5047 GB, free: 9.383 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.4314, allocations: 0 / 0.5047 GB, free: 9.383 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.4316, allocations: 15.53 kB / 0.5047 GB, free: 9.383 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001609/0.4318, allocations: 70.91 kB / 0.5048 GB, free: 9.312 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.4319, allocations: 0.6826 MB / 0.5054 GB, free: 8.617 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.834e-05/0.4319, allocations: 6.625 kB / 0.5054 GB, free: 8.613 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.4319, allocations: 15.34 kB / 0.5055 GB, free: 8.602 MB / 330.7 MB Notification: Performance of SimCode: time 3.61e-07/0.432, allocations: 4.062 kB / 0.5055 GB, free: 8.598 MB / 330.7 MB Notification: Performance of Templates: time 0.001965/0.4339, allocations: 337.1 kB / 0.5058 GB, free: 8.543 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/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