Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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-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.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_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_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.0009048/0.0009051, allocations: 171.8 kB / 16.8 MB, free: 5.012 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.484/1.484, allocations: 205.4 MB / 223 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.0008402/0.00084, allocations: 92.48 kB / 271.3 MB, free: 8.242 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.08338/0.08338, allocations: 12.6 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004084, allocations: 16 kB / 393.2 MB, free: 65.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1025, allocations: 50.37 MB / 443.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3554/0.458, allocations: 78.38 MB / 0.5098 GB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.4583, allocations: 78.19 kB / 0.5098 GB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005005/0.4633, allocations: 1.999 MB / 0.5118 GB, free: 12.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.095e-06/0.4633, allocations: 0 / 0.5118 GB, free: 12.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.4633, allocations: 0 / 0.5118 GB, free: 12.64 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.0003308/0.4637, allocations: 371.6 kB / 0.5121 GB, free: 12.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.4637, allocations: 11.5 kB / 0.5121 GB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.4638, allocations: 8.688 kB / 0.5122 GB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.464, allocations: 206.2 kB / 0.5124 GB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.464, allocations: 7.469 kB / 0.5124 GB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.464, allocations: 384 / 0.5124 GB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.4643, allocations: 124.2 kB / 0.5125 GB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4643, allocations: 4.188 kB / 0.5125 GB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.4643, allocations: 3.938 kB / 0.5125 GB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4644, allocations: 3.984 kB / 0.5125 GB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.609e-05/0.4644, allocations: 22.98 kB / 0.5125 GB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.4648, allocations: 280 kB / 0.5128 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.543e-05/0.4649, allocations: 74.5 kB / 0.5128 GB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.822e-05/0.465, allocations: 37.06 kB / 0.5129 GB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.465, allocations: 0 / 0.5129 GB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.465, allocations: 38.41 kB / 0.5129 GB, free: 11.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.465, allocations: 0 / 0.5129 GB, free: 11.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002626/0.4653, allocations: 91.27 kB / 0.513 GB, free: 11.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.4653, allocations: 110.1 kB / 0.5131 GB, free: 11.28 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.4654, allocations: 146.4 kB / 0.5133 GB, free: 11.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.335e-06/0.4655, allocations: 25.7 kB / 0.5133 GB, free: 11.13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.787e-05/0.4655, allocations: 88.77 kB / 0.5134 GB, free: 11.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.4655, allocations: 11.83 kB / 0.5134 GB, free: 11.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-06/0.4655, allocations: 3.938 kB / 0.5134 GB, free: 11.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.8e-05/0.4656, allocations: 318.7 kB / 0.5137 GB, free: 10.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.963e-05/0.4656, allocations: 14.89 kB / 0.5137 GB, free: 10.72 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.746e-05/0.4657, allocations: 30.12 kB / 0.5137 GB, free: 10.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.647e-05/0.4658, allocations: 54.33 kB / 0.5138 GB, free: 10.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4658, allocations: 0 / 0.5138 GB, free: 10.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001177/0.4659, allocations: 79.27 kB / 0.5139 GB, free: 10.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4659, allocations: 12.5 kB / 0.5139 GB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.4659, allocations: 0.875 kB / 0.5139 GB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.466, allocations: 0 / 0.5139 GB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.443e-05/0.466, allocations: 11.61 kB / 0.5139 GB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4661, allocations: 3.75 kB / 0.5139 GB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.711e-05/0.4661, allocations: 7.75 kB / 0.5139 GB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.4661, allocations: 0 / 0.5139 GB, free: 10.58 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 6.456e-05/0.4662, allocations: 128.3 kB / 0.514 GB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.306e-05/0.4662, allocations: 52.98 kB / 0.5141 GB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.4663, allocations: 15.58 kB / 0.5141 GB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.4663, allocations: 0 / 0.5141 GB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4663, allocations: 7.75 kB / 0.5141 GB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4663, allocations: 0 / 0.5141 GB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.4664, allocations: 179 kB / 0.5143 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4665, allocations: 0 / 0.5143 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.297e-05/0.4665, allocations: 11.3 kB / 0.5143 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.4665, allocations: 3.844 kB / 0.5143 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.4665, allocations: 4.062 kB / 0.5143 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4665, allocations: 0 / 0.5143 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.4666, allocations: 0 / 0.5143 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.4667, allocations: 190.8 kB / 0.5145 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.4668, allocations: 96.78 kB / 0.5145 GB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.4668, allocations: 0 / 0.5145 GB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.375e-05/0.4668, allocations: 7.859 kB / 0.5146 GB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.4669, allocations: 3.844 kB / 0.5146 GB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.4669, allocations: 0 / 0.5146 GB, free: 9.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.167e-05/0.467, allocations: 109.3 kB / 0.5147 GB, free: 9.828 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.467, allocations: 0 / 0.5147 GB, free: 9.828 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002167/0.4672, allocations: 7.531 kB / 0.5147 GB, free: 9.828 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 8.94e-05/0.4673, allocations: 98.56 kB / 0.5148 GB, free: 9.734 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001352/0.4674, allocations: 34.77 kB / 0.5148 GB, free: 9.727 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4674, allocations: 3.938 kB / 0.5148 GB, free: 9.723 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.725e-05/0.4675, allocations: 18.52 kB / 0.5148 GB, free: 9.715 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.4678, allocations: 29.97 kB / 0.5148 GB, free: 9.707 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004082/0.4683, allocations: 199.8 kB / 0.515 GB, free: 9.527 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.4685, allocations: 0.6922 MB / 0.5157 GB, free: 8.82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.515e-05/0.4685, allocations: 7.906 kB / 0.5157 GB, free: 8.816 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.4685, allocations: 7.438 kB / 0.5157 GB, free: 8.812 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4685, allocations: 0 / 0.5157 GB, free: 8.812 MB / 330.7 MB Notification: Performance of Templates: time 0.002698/0.4713, allocations: 0.5349 MB / 0.5162 GB, free: 8.547 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_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_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches