Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001716/0.001716, allocations: 180.5 kB / 15.8 MB, free: 6.34 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.7/1.7, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.0008848/0.0008847, allocations: 82.86 kB / 270.3 MB, free: 13.38 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.08384/0.08384, allocations: 12.6 MB / 331.1 MB, free: 10.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.0004669, allocations: 10.97 kB / 392 MB, free: 54.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1096, allocations: 50.36 MB / 442.4 MB, free: 11 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1155/0.2251, allocations: 77.62 MB / 0.5078 GB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.2255, allocations: 83.89 kB / 0.5079 GB, free: 13.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002821/0.2283, allocations: 1 MB / 0.5088 GB, free: 12.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2283, allocations: 0 / 0.5088 GB, free: 12.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.2284, allocations: 0 / 0.5088 GB, free: 12.19 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003355/0.2287, allocations: 359.1 kB / 0.5092 GB, free: 11.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2287, allocations: 8.031 kB / 0.5092 GB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.2288, allocations: 7.906 kB / 0.5092 GB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.229, allocations: 178.9 kB / 0.5094 GB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.229, allocations: 7.984 kB / 0.5094 GB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.229, allocations: 3.953 kB / 0.5094 GB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.2293, allocations: 93.05 kB / 0.5095 GB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.2293, allocations: 3.938 kB / 0.5095 GB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.2293, allocations: 0 / 0.5095 GB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2293, allocations: 4 kB / 0.5095 GB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.008e-05/0.2294, allocations: 11.98 kB / 0.5095 GB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.2297, allocations: 261.8 kB / 0.5097 GB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.591e-05/0.2298, allocations: 45.2 kB / 0.5098 GB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.2298, allocations: 0 / 0.5098 GB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.2299, allocations: 34.56 kB / 0.5098 GB, free: 11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 2.405e-06/0.2299, allocations: 4 kB / 0.5098 GB, free: 11 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001985/0.2301, allocations: 61.53 kB / 0.5099 GB, free: 10.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.2301, allocations: 77.11 kB / 0.51 GB, free: 10.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.2302, allocations: 117.5 kB / 0.5101 GB, free: 10.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.2303, allocations: 29.7 kB / 0.5101 GB, free: 10.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.2303, allocations: 88.08 kB / 0.5102 GB, free: 10.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.184e-06/0.2303, allocations: 256 / 0.5102 GB, free: 10.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-06/0.2303, allocations: 4 kB / 0.5102 GB, free: 10.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2305, allocations: 322.8 kB / 0.5105 GB, free: 10.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.72e-05/0.2305, allocations: 4 kB / 0.5105 GB, free: 10.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.78e-05/0.2305, allocations: 13.72 kB / 0.5105 GB, free: 10.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/0.2306, allocations: 4 kB / 0.5105 GB, free: 10.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2306, allocations: 4.062 kB / 0.5105 GB, free: 10.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.509e-05/0.2307, allocations: 57.58 kB / 0.5106 GB, free: 10.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.2307, allocations: 4 kB / 0.5106 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2307, allocations: 0 / 0.5106 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.2307, allocations: 0 / 0.5106 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-05/0.2307, allocations: 7.984 kB / 0.5106 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.2308, allocations: 3.938 kB / 0.5106 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.443e-05/0.2308, allocations: 0 / 0.5106 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.2308, allocations: 8.062 kB / 0.5106 GB, free: 10.15 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample.u,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.137e-05/0.2309, allocations: 117.9 kB / 0.5107 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/0.231, allocations: 45.55 kB / 0.5108 GB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.231, allocations: 7.531 kB / 0.5108 GB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.231, allocations: 0 / 0.5108 GB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.231, allocations: 0 / 0.5108 GB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.231, allocations: 7.938 kB / 0.5108 GB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.2312, allocations: 165.7 kB / 0.5109 GB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2312, allocations: 3.938 kB / 0.5109 GB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.552e-06/0.2312, allocations: 4.031 kB / 0.5109 GB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2312, allocations: 3.953 kB / 0.5109 GB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.2312, allocations: 0 / 0.5109 GB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.2312, allocations: 4 kB / 0.5109 GB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2312, allocations: 4 kB / 0.5109 GB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.2314, allocations: 162 kB / 0.5111 GB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.2315, allocations: 96.95 kB / 0.5112 GB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.2315, allocations: 0 / 0.5112 GB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.25e-05/0.2316, allocations: 4 kB / 0.5112 GB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.2316, allocations: 0 / 0.5112 GB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.2316, allocations: 3.938 kB / 0.5112 GB, free: 9.426 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.87e-05/0.2317, allocations: 111.2 kB / 0.5113 GB, free: 9.316 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2317, allocations: 0 / 0.5113 GB, free: 9.316 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001976/0.2319, allocations: 0 / 0.5113 GB, free: 9.316 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample.u,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001212/0.232, allocations: 103.3 kB / 0.5114 GB, free: 9.203 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.2321, allocations: 15.98 kB / 0.5114 GB, free: 9.188 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.2322, allocations: 4 kB / 0.5114 GB, free: 9.184 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.2322, allocations: 4 kB / 0.5114 GB, free: 9.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.2324, allocations: 19.67 kB / 0.5114 GB, free: 9.164 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.2328, allocations: 153.8 kB / 0.5116 GB, free: 8.984 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.2331, allocations: 0.6887 MB / 0.5123 GB, free: 8.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.796e-05/0.2331, allocations: 0 / 0.5123 GB, free: 8.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.2332, allocations: 7.438 kB / 0.5123 GB, free: 8.262 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2332, allocations: 0 / 0.5123 GB, free: 8.262 MB / 362.7 MB Notification: Performance of Templates: time 0.002495/0.2357, allocations: 382.1 kB / 0.5126 GB, free: 7.898 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches