Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.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/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/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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00206/0.00206, allocations: 180.8 kB / 17.46 MB, free: 4.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.65/2.65, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.001037/0.001037, allocations: 85.42 kB / 272 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1577/0.1577, allocations: 12.19 MB / 332.4 MB, free: 11.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005847/0.000585, allocations: 19.98 kB / 392.7 MB, free: 67.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1666, allocations: 50.28 MB / 443 MB, free: 16.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5636/0.7304, allocations: 78.32 MB / 0.5091 GB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003845/0.7308, allocations: 80.48 kB / 0.5092 GB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01151/0.7424, allocations: 2.482 MB / 0.5116 GB, free: 12.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.053e-06/0.7424, allocations: 0 / 0.5116 GB, free: 12.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.918e-05/0.7425, allocations: 0 / 0.5116 GB, free: 12.25 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000598/0.7431, allocations: 370.8 kB / 0.512 GB, free: 11.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.32e-05/0.7432, allocations: 7.688 kB / 0.512 GB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.7433, allocations: 12.69 kB / 0.512 GB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.7435, allocations: 199.1 kB / 0.5122 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.7436, allocations: 384 / 0.5122 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.7436, allocations: 11.69 kB / 0.5122 GB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004234/0.744, allocations: 114.3 kB / 0.5123 GB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.7441, allocations: 4.188 kB / 0.5123 GB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.7441, allocations: 11.84 kB / 0.5123 GB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.7441, allocations: 0 / 0.5123 GB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.7443, allocations: 19.05 kB / 0.5123 GB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005019/0.7448, allocations: 271.5 kB / 0.5126 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.7449, allocations: 49.25 kB / 0.5126 GB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.01e-05/0.745, allocations: 25.14 kB / 0.5127 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.7451, allocations: 0 / 0.5127 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.7451, allocations: 38.53 kB / 0.5127 GB, free: 11.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.843e-06/0.7452, allocations: 0 / 0.5127 GB, free: 11.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004199/0.7456, allocations: 71.86 kB / 0.5128 GB, free: 11.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.7457, allocations: 80.67 kB / 0.5128 GB, free: 10.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.7459, allocations: 136 kB / 0.513 GB, free: 10.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.7459, allocations: 29.64 kB / 0.513 GB, free: 10.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.7459, allocations: 98.88 kB / 0.5131 GB, free: 10.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.746, allocations: 0 / 0.5131 GB, free: 10.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.746, allocations: 0 / 0.5131 GB, free: 10.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.396e-05/0.7461, allocations: 318.1 kB / 0.5134 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.7462, allocations: 7.859 kB / 0.5134 GB, free: 10.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.521e-05/0.7463, allocations: 24.81 kB / 0.5134 GB, free: 10.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.7464, allocations: 32.58 kB / 0.5135 GB, free: 10.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.7464, allocations: 0 / 0.5135 GB, free: 10.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002164/0.7467, allocations: 71.95 kB / 0.5135 GB, free: 10.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.7467, allocations: 8.625 kB / 0.5135 GB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.7467, allocations: 0 / 0.5135 GB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.7468, allocations: 0 / 0.5135 GB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.7469, allocations: 7.844 kB / 0.5136 GB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.7469, allocations: 0 / 0.5136 GB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.353e-05/0.747, allocations: 0 / 0.5136 GB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.747, allocations: 7.859 kB / 0.5136 GB, free: 10.33 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: 0 () * 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 9.969e-05/0.7471, allocations: 125.1 kB / 0.5137 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.171e-05/0.7472, allocations: 41.23 kB / 0.5137 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.029e-05/0.7473, allocations: 14.39 kB / 0.5137 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.7473, allocations: 0 / 0.5137 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.7474, allocations: 3.938 kB / 0.5137 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.7474, allocations: 0 / 0.5137 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.7476, allocations: 171.7 kB / 0.5139 GB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.7476, allocations: 0 / 0.5139 GB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.126e-05/0.7477, allocations: 3.875 kB / 0.5139 GB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.7477, allocations: 4.031 kB / 0.5139 GB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.7478, allocations: 7.719 kB / 0.5139 GB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.7478, allocations: 7.922 kB / 0.5139 GB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.7478, allocations: 4 kB / 0.5139 GB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.7481, allocations: 166.9 kB / 0.5141 GB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.926e-05/0.7482, allocations: 92.81 kB / 0.5142 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.7482, allocations: 0 / 0.5142 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.7483, allocations: 3.844 kB / 0.5142 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.7484, allocations: 3.984 kB / 0.5142 GB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.7484, allocations: 3.906 kB / 0.5142 GB, free: 9.676 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001455/0.7486, allocations: 104.6 kB / 0.5143 GB, free: 9.598 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.7486, allocations: 0 / 0.5143 GB, free: 9.598 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004049/0.749, allocations: 3.844 kB / 0.5143 GB, free: 9.598 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: 0 () * 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.0001486/0.7492, allocations: 98.8 kB / 0.5144 GB, free: 9.504 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.7495, allocations: 27.27 kB / 0.5144 GB, free: 9.496 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.7495, allocations: 0 / 0.5144 GB, free: 9.496 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.439e-05/0.7496, allocations: 7.625 kB / 0.5144 GB, free: 9.496 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005878/0.7502, allocations: 23.95 kB / 0.5144 GB, free: 9.488 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005433/0.7507, allocations: 209.2 kB / 0.5146 GB, free: 9.285 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.7509, allocations: 0.6917 MB / 0.5153 GB, free: 8.582 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.751, allocations: 11.38 kB / 0.5153 GB, free: 8.574 MB / 330.7 MB Notification: Performance of SimCode: time 1.864e-06/0.751, allocations: 7.938 kB / 0.5153 GB, free: 8.57 MB / 330.7 MB Notification: Performance of Templates: time 0.003504/0.7545, allocations: 0.7094 MB / 0.516 GB, free: 8.223 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches