Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 182 kB / 17.46 MB, free: 4.242 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.782/2.782, allocations: 205.4 MB / 223.6 MB, free: 9 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.001274/0.001274, allocations: 90.36 kB / 272 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1202/0.1202, allocations: 12.21 MB / 332.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006485/0.0006487, allocations: 16 kB / 392.7 MB, free: 67.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1798, allocations: 50.29 MB / 443 MB, free: 16.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5522/0.7321, allocations: 78.34 MB / 0.5091 GB, free: 13.05 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.7325, allocations: 74.39 kB / 0.5092 GB, free: 13.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006957/0.7394, allocations: 2.49 MB / 0.5116 GB, free: 12.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.18e-05/0.7396, allocations: 0 / 0.5116 GB, free: 12.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.7396, allocations: 3.656 kB / 0.5116 GB, free: 12.3 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.0004607/0.7401, allocations: 380.9 kB / 0.512 GB, free: 11.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.7401, allocations: 11.28 kB / 0.512 GB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.7402, allocations: 12.72 kB / 0.512 GB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.7404, allocations: 198.4 kB / 0.5122 GB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.7404, allocations: 384 / 0.5122 GB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.7404, allocations: 8.125 kB / 0.5122 GB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.7408, allocations: 121.2 kB / 0.5123 GB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.7408, allocations: 8 kB / 0.5123 GB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.7408, allocations: 3.938 kB / 0.5124 GB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.7408, allocations: 0 / 0.5124 GB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.436e-05/0.7409, allocations: 22.61 kB / 0.5124 GB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.7413, allocations: 288.2 kB / 0.5126 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.7415, allocations: 75.69 kB / 0.5127 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.051e-05/0.7415, allocations: 41.5 kB / 0.5128 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.7416, allocations: 0 / 0.5128 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.7416, allocations: 30.56 kB / 0.5128 GB, free: 11.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.7416, allocations: 0 / 0.5128 GB, free: 11.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.000287/0.7419, allocations: 91.7 kB / 0.5129 GB, free: 11.06 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.742, allocations: 110.1 kB / 0.513 GB, free: 10.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.7421, allocations: 143.9 kB / 0.5131 GB, free: 10.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.7422, allocations: 29.45 kB / 0.5131 GB, free: 10.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.7422, allocations: 87.55 kB / 0.5132 GB, free: 10.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.7422, allocations: 3.906 kB / 0.5132 GB, free: 10.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.7423, allocations: 4.188 kB / 0.5132 GB, free: 10.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.275e-05/0.7424, allocations: 322.2 kB / 0.5135 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.336e-05/0.7424, allocations: 11.03 kB / 0.5136 GB, free: 10.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.76e-05/0.7425, allocations: 30.98 kB / 0.5136 GB, free: 10.35 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.289e-05/0.7426, allocations: 58.11 kB / 0.5136 GB, free: 10.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7426, allocations: 0 / 0.5136 GB, free: 10.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000126/0.7427, allocations: 79.92 kB / 0.5137 GB, free: 10.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.7427, allocations: 3.906 kB / 0.5137 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.7428, allocations: 0 / 0.5137 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.7428, allocations: 3.531 kB / 0.5137 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.402e-05/0.7429, allocations: 11.05 kB / 0.5137 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.7429, allocations: 0 / 0.5137 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.743, allocations: 11.31 kB / 0.5137 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.743, allocations: 7.781 kB / 0.5138 GB, free: 10.24 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.941e-05/0.7431, allocations: 126.3 kB / 0.5139 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.091e-05/0.7432, allocations: 56.84 kB / 0.5139 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.7432, allocations: 11.41 kB / 0.5139 GB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.7432, allocations: 3.984 kB / 0.5139 GB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.7432, allocations: 4.031 kB / 0.5139 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.7432, allocations: 7.797 kB / 0.514 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.7434, allocations: 171.6 kB / 0.5141 GB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.7434, allocations: 3.875 kB / 0.5141 GB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.759e-05/0.7435, allocations: 11.83 kB / 0.5141 GB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7435, allocations: 4 kB / 0.5141 GB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.7435, allocations: 0 / 0.5141 GB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.7435, allocations: 7.906 kB / 0.5141 GB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.7435, allocations: 0 / 0.5141 GB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.7437, allocations: 186.8 kB / 0.5143 GB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.7438, allocations: 92.69 kB / 0.5144 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.7439, allocations: 3.875 kB / 0.5144 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.879e-05/0.7439, allocations: 3.875 kB / 0.5144 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.744, allocations: 3.984 kB / 0.5144 GB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.744, allocations: 7.719 kB / 0.5144 GB, free: 9.566 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.692e-05/0.7441, allocations: 101.7 kB / 0.5145 GB, free: 9.488 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7441, allocations: 0 / 0.5145 GB, free: 9.488 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002299/0.7443, allocations: 7.688 kB / 0.5145 GB, free: 9.488 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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 0.0001011/0.7444, allocations: 98.77 kB / 0.5146 GB, free: 9.395 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.7446, allocations: 38.45 kB / 0.5147 GB, free: 9.387 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7446, allocations: 0 / 0.5147 GB, free: 9.387 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.7447, allocations: 11.84 kB / 0.5147 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.0004142/0.7451, allocations: 36.88 kB / 0.5147 GB, free: 9.367 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004566/0.7455, allocations: 225 kB / 0.5149 GB, free: 9.156 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.7458, allocations: 0.7 MB / 0.5156 GB, free: 8.445 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.7458, allocations: 7.438 kB / 0.5156 GB, free: 8.441 MB / 330.7 MB Notification: Performance of SimCode: time 2.134e-06/0.7458, allocations: 3.938 kB / 0.5156 GB, free: 8.438 MB / 330.7 MB Notification: Performance of Templates: time 0.002527/0.7483, allocations: 0.8134 MB / 0.5164 GB, free: 8.035 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches