Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|feedback.y|hold.y|sample1.y|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|feedback.y|hold.y|sample1.y|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009657/0.0009655, allocations: 171.5 kB / 16.8 MB, free: 4.879 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.54/1.54, 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.0008196/0.0008201, 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.08223/0.08223, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005061/0.0005061, allocations: 16 kB / 393.2 MB, free: 65.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1043, allocations: 50.37 MB / 443.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3224/0.4268, allocations: 78.22 MB / 0.5096 GB, free: 13.49 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.427, allocations: 76.19 kB / 0.5097 GB, free: 13.49 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002984/0.43, allocations: 1.388 MB / 0.511 GB, free: 12.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4301, allocations: 7.938 kB / 0.511 GB, free: 12.85 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.4301, allocations: 0 / 0.511 GB, free: 12.85 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000312/0.4304, allocations: 376.3 kB / 0.5114 GB, free: 12.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.4304, allocations: 11.56 kB / 0.5114 GB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.4305, allocations: 8.594 kB / 0.5114 GB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.4306, allocations: 200.8 kB / 0.5116 GB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.4306, allocations: 3.188 kB / 0.5116 GB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.4307, allocations: 12.09 kB / 0.5116 GB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.431, allocations: 163.5 kB / 0.5118 GB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.431, allocations: 192 / 0.5118 GB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.431, allocations: 6.688 kB / 0.5118 GB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.431, allocations: 4 kB / 0.5118 GB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.745e-05/0.4311, allocations: 38.75 kB / 0.5118 GB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.4314, allocations: 380 kB / 0.5122 GB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.4316, allocations: 114.6 kB / 0.5123 GB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.74e-05/0.4317, allocations: 65.91 kB / 0.5124 GB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.4318, allocations: 0 / 0.5124 GB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.4318, allocations: 34.5 kB / 0.5124 GB, free: 11.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.4318, allocations: 0 / 0.5124 GB, free: 11.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002815/0.4321, allocations: 133.1 kB / 0.5125 GB, free: 11.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.4321, allocations: 108.9 kB / 0.5126 GB, free: 11.4 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.751e-05/0.4322, allocations: 136.8 kB / 0.5127 GB, free: 11.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.4322, allocations: 25.7 kB / 0.5128 GB, free: 11.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.602e-05/0.4323, allocations: 98.92 kB / 0.5129 GB, free: 11.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.4323, allocations: 11.31 kB / 0.5129 GB, free: 11.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.4323, allocations: 0 / 0.5129 GB, free: 11.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.508e-05/0.4323, allocations: 321.1 kB / 0.5132 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.234e-05/0.4324, allocations: 19.02 kB / 0.5132 GB, free: 10.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.062e-05/0.4324, allocations: 69.41 kB / 0.5133 GB, free: 10.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.701e-05/0.4326, allocations: 102 kB / 0.5134 GB, free: 10.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4326, allocations: 3.969 kB / 0.5134 GB, free: 10.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001422/0.4327, allocations: 113.9 kB / 0.5135 GB, free: 10.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.4327, allocations: 10.5 kB / 0.5135 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.4327, allocations: 0.5 kB / 0.5135 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.4328, allocations: 3.844 kB / 0.5135 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.19e-05/0.4328, allocations: 27.23 kB / 0.5135 GB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4328, allocations: 3.984 kB / 0.5135 GB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.523e-05/0.4329, allocations: 15.62 kB / 0.5135 GB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.4329, allocations: 3.875 kB / 0.5135 GB, free: 10.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.963e-05/0.433, allocations: 132.5 kB / 0.5137 GB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-05/0.4331, allocations: 75.06 kB / 0.5137 GB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/0.4331, allocations: 19.55 kB / 0.5138 GB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4331, allocations: 3.781 kB / 0.5138 GB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4331, allocations: 0 / 0.5138 GB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4331, allocations: 0 / 0.5138 GB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.4333, allocations: 191.1 kB / 0.5139 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4333, allocations: 0 / 0.5139 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.556e-05/0.4334, allocations: 18.89 kB / 0.514 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4334, allocations: 3.812 kB / 0.514 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.4334, allocations: 7.875 kB / 0.514 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4334, allocations: 0 / 0.514 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4334, allocations: 11.78 kB / 0.514 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.4337, allocations: 314.7 kB / 0.5143 GB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/0.4337, allocations: 92.62 kB / 0.5144 GB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.4338, allocations: 7.812 kB / 0.5144 GB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.001e-05/0.4338, allocations: 3.688 kB / 0.5144 GB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.4339, allocations: 3.844 kB / 0.5144 GB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.4339, allocations: 3.812 kB / 0.5144 GB, free: 9.828 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.42e-05/0.4339, allocations: 106 kB / 0.5145 GB, free: 9.746 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4339, allocations: 3.938 kB / 0.5145 GB, free: 9.742 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002691/0.4342, allocations: 14.94 kB / 0.5145 GB, free: 9.738 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 (10): * Single equations (assignments): 10 * 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 6.078e-05/0.4343, allocations: 91.28 kB / 0.5146 GB, free: 9.652 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.4344, allocations: 64.62 kB / 0.5147 GB, free: 9.637 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4344, allocations: 3.844 kB / 0.5147 GB, free: 9.637 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.392e-05/0.4345, allocations: 19.36 kB / 0.5147 GB, free: 9.629 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.4349, allocations: 41.02 kB / 0.5147 GB, free: 9.621 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.4352, allocations: 232.7 kB / 0.5149 GB, free: 9.422 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.4353, allocations: 0.6956 MB / 0.5156 GB, free: 8.719 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.933e-05/0.4354, allocations: 12.31 kB / 0.5156 GB, free: 8.707 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.127e-05/0.4354, allocations: 11.28 kB / 0.5156 GB, free: 8.699 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4354, allocations: 0 / 0.5156 GB, free: 8.699 MB / 330.7 MB Notification: Performance of Templates: time 0.002321/0.4377, allocations: 0.6167 MB / 0.5162 GB, free: 8.398 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches