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.0009734/0.0009733, allocations: 171.8 kB / 16.8 MB, free: 5.004 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.542/1.542, allocations: 205.4 MB / 223 MB, free: 9.023 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.0007605/0.0007603, allocations: 89.03 kB / 271.3 MB, free: 8.246 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.08828/0.08828, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004347/0.0004348, allocations: 12 kB / 393.2 MB, free: 65.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1037, allocations: 50.37 MB / 443.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3115/0.4153, allocations: 77.64 MB / 0.509 GB, free: 13.44 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.4156, allocations: 77.92 kB / 0.5091 GB, free: 13.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002297/0.4179, allocations: 0.9971 MB / 0.5101 GB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4179, allocations: 4.75 kB / 0.5101 GB, free: 13.08 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.418, allocations: 3.875 kB / 0.5101 GB, free: 13.08 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003179/0.4183, allocations: 349 kB / 0.5104 GB, free: 12.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.4183, allocations: 11.56 kB / 0.5104 GB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.4184, allocations: 4.844 kB / 0.5104 GB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.4185, allocations: 186.7 kB / 0.5106 GB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.4186, allocations: 4.188 kB / 0.5106 GB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.4186, allocations: 2.938 kB / 0.5106 GB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.4188, allocations: 95.33 kB / 0.5107 GB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.4188, allocations: 192 / 0.5107 GB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.4189, allocations: 3.938 kB / 0.5107 GB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4189, allocations: 0 / 0.5107 GB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.188e-05/0.4189, allocations: 19.75 kB / 0.5107 GB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000294/0.4192, allocations: 260 kB / 0.511 GB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.296e-05/0.4193, allocations: 44.22 kB / 0.511 GB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.872e-05/0.4193, allocations: 21.48 kB / 0.511 GB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.4194, allocations: 4 kB / 0.511 GB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.4194, allocations: 38.66 kB / 0.5111 GB, free: 12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.4194, allocations: 0 / 0.5111 GB, free: 12 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001815/0.4196, allocations: 56.75 kB / 0.5111 GB, free: 11.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.4196, allocations: 77.11 kB / 0.5112 GB, free: 11.87 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.484e-05/0.4197, allocations: 135.3 kB / 0.5113 GB, free: 11.76 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.051e-06/0.4198, allocations: 25.7 kB / 0.5114 GB, free: 11.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.575e-05/0.4198, allocations: 91.81 kB / 0.5114 GB, free: 11.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.676e-06/0.4198, allocations: 3.906 kB / 0.5115 GB, free: 11.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.4198, allocations: 0 / 0.5115 GB, free: 11.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.062e-05/0.4199, allocations: 314.2 kB / 0.5117 GB, free: 11.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.406e-05/0.4199, allocations: 3.875 kB / 0.5118 GB, free: 11.33 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.356e-05/0.4199, allocations: 25.39 kB / 0.5118 GB, free: 11.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.834e-05/0.42, allocations: 28.53 kB / 0.5118 GB, free: 11.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.42, allocations: 0 / 0.5118 GB, free: 11.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.299e-05/0.4201, allocations: 56.41 kB / 0.5119 GB, free: 11.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.4201, allocations: 4.406 kB / 0.5119 GB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4201, allocations: 8.062 kB / 0.5119 GB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.4201, allocations: 3.969 kB / 0.5119 GB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.36e-05/0.4201, allocations: 0 / 0.5119 GB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.4201, allocations: 0 / 0.5119 GB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.407e-05/0.4202, allocations: 3.875 kB / 0.5119 GB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.4202, allocations: 0.6875 kB / 0.5119 GB, free: 11.23 MB / 330.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 5.501e-05/0.4202, allocations: 125.9 kB / 0.512 GB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.4203, allocations: 40.48 kB / 0.512 GB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.4203, allocations: 11.55 kB / 0.512 GB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4203, allocations: 3.719 kB / 0.5121 GB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4204, allocations: 0 / 0.5121 GB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.4204, allocations: 0 / 0.5121 GB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.4205, allocations: 164.1 kB / 0.5122 GB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4205, allocations: 0.5 kB / 0.5122 GB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-06/0.4205, allocations: 7.812 kB / 0.5122 GB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4205, allocations: 0 / 0.5122 GB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.4205, allocations: 7.984 kB / 0.5122 GB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.4205, allocations: 0 / 0.5122 GB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4205, allocations: 0 / 0.5122 GB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.4207, allocations: 158.5 kB / 0.5124 GB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.4207, allocations: 92 kB / 0.5125 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.4207, allocations: 0 / 0.5125 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.788e-05/0.4208, allocations: 0 / 0.5125 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.4208, allocations: 3.969 kB / 0.5125 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.4208, allocations: 4.031 kB / 0.5125 GB, free: 10.6 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.516e-05/0.4209, allocations: 106.4 kB / 0.5126 GB, free: 10.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4209, allocations: 3.938 kB / 0.5126 GB, free: 10.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001955/0.4211, allocations: 0 / 0.5126 GB, free: 10.52 MB / 330.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 7.284e-05/0.4212, allocations: 98.61 kB / 0.5127 GB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.471e-05/0.4213, allocations: 14.12 kB / 0.5127 GB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4213, allocations: 4.125 kB / 0.5127 GB, free: 10.42 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.413e-05/0.4213, allocations: 7.766 kB / 0.5127 GB, free: 10.42 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.4217, allocations: 23.5 kB / 0.5127 GB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.4219, allocations: 152 kB / 0.5129 GB, free: 10.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.4221, allocations: 0.6886 MB / 0.5135 GB, free: 9.551 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.713e-05/0.4221, allocations: 3.844 kB / 0.5135 GB, free: 9.551 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.4221, allocations: 7.438 kB / 0.5135 GB, free: 9.543 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4222, allocations: 0 / 0.5135 GB, free: 9.543 MB / 330.7 MB Notification: Performance of Templates: time 0.002146/0.4243, allocations: 398.9 kB / 0.5139 GB, free: 9.348 MB / 330.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/jenkins1/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