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.001147/0.001147, allocations: 182.3 kB / 13.23 MB, free: 2.086 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.686/1.686, allocations: 205.2 MB / 219 MB, free: 9.203 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.0009737/0.0009738, allocations: 93.3 kB / 267.1 MB, free: 9.266 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.0762/0.0762, allocations: 12.59 MB / 327.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.38e-05/2.39e-05, allocations: 4 kB / 386 MB, free: 69.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08906/0.0891, allocations: 50.38 MB / 436.4 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3263/0.4155, allocations: 78.25 MB / 0.5026 GB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.4157, allocations: 79.72 kB / 0.5026 GB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004641/0.4204, allocations: 1.996 MB / 0.5046 GB, free: 11.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4204, allocations: 0 / 0.5046 GB, free: 11.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.447e-06/0.4204, allocations: 3.844 kB / 0.5046 GB, free: 11.47 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.000272/0.4207, allocations: 354.4 kB / 0.5049 GB, free: 11.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.4208, allocations: 7.625 kB / 0.5049 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.4208, allocations: 10.91 kB / 0.505 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.4209, allocations: 197.1 kB / 0.5051 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.421, allocations: 3.969 kB / 0.5051 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.421, allocations: 7.25 kB / 0.5052 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.4212, allocations: 110 kB / 0.5053 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.4212, allocations: 3.938 kB / 0.5053 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.4212, allocations: 0 / 0.5053 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4212, allocations: 0 / 0.5053 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.652e-05/0.4213, allocations: 10.47 kB / 0.5053 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.4216, allocations: 291.4 kB / 0.5056 GB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.901e-05/0.4216, allocations: 70.83 kB / 0.5056 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.353e-05/0.4217, allocations: 34.56 kB / 0.5057 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.4217, allocations: 0 / 0.5057 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.4217, allocations: 34.41 kB / 0.5057 GB, free: 10.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.4217, allocations: 0 / 0.5057 GB, free: 10.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001515/0.4219, allocations: 64.62 kB / 0.5057 GB, free: 10.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.4219, allocations: 106.6 kB / 0.5058 GB, free: 10.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.316e-05/0.422, allocations: 129.8 kB / 0.506 GB, free: 10.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.734e-06/0.422, allocations: 25.7 kB / 0.506 GB, free: 10.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.454e-05/0.4221, allocations: 93.64 kB / 0.5061 GB, free: 10 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.097e-05/0.4221, allocations: 0 / 0.5061 GB, free: 10 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.4221, allocations: 0 / 0.5061 GB, free: 10 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.679e-05/0.4221, allocations: 329.1 kB / 0.5064 GB, free: 9.684 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.656e-05/0.4222, allocations: 7.656 kB / 0.5064 GB, free: 9.684 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.898e-05/0.4222, allocations: 27.34 kB / 0.5064 GB, free: 9.648 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.249e-05/0.4222, allocations: 10.47 kB / 0.5064 GB, free: 9.648 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4222, allocations: 0 / 0.5064 GB, free: 9.648 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.355e-05/0.4223, allocations: 67.17 kB / 0.5065 GB, free: 9.602 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.4223, allocations: 7.812 kB / 0.5065 GB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4223, allocations: 0 / 0.5065 GB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.4223, allocations: 2.438 kB / 0.5065 GB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.399e-05/0.4224, allocations: 7.719 kB / 0.5065 GB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.4224, allocations: 6.328 kB / 0.5065 GB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.045e-05/0.4225, allocations: 3.844 kB / 0.5065 GB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.4225, allocations: 4.75 kB / 0.5065 GB, free: 9.598 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 () * 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 4.056e-05/0.4225, allocations: 115.8 kB / 0.5066 GB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.4226, allocations: 50.31 kB / 0.5067 GB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.4226, allocations: 13.64 kB / 0.5067 GB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4227, allocations: 3.844 kB / 0.5067 GB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4227, allocations: 4 kB / 0.5067 GB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4227, allocations: 96 / 0.5067 GB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.4228, allocations: 175.8 kB / 0.5069 GB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4228, allocations: 6.984 kB / 0.5069 GB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.4229, allocations: 11.69 kB / 0.5069 GB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.4229, allocations: 3.844 kB / 0.5069 GB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.4229, allocations: 0 / 0.5069 GB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4229, allocations: 2.766 kB / 0.5069 GB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4229, allocations: 0 / 0.5069 GB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.423, allocations: 200 kB / 0.5071 GB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.4231, allocations: 95 kB / 0.5072 GB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.4231, allocations: 0 / 0.5072 GB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.816e-05/0.4232, allocations: 3.969 kB / 0.5072 GB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.4232, allocations: 2.953 kB / 0.5072 GB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.4232, allocations: 11.73 kB / 0.5072 GB, free: 8.941 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.53e-05/0.4233, allocations: 109 kB / 0.5073 GB, free: 8.867 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4233, allocations: 4 kB / 0.5073 GB, free: 8.863 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00021/0.4235, allocations: 3.969 kB / 0.5073 GB, free: 8.863 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 () * 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 7.302e-05/0.4236, allocations: 94.78 kB / 0.5074 GB, free: 8.773 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.54e-05/0.4237, allocations: 24.98 kB / 0.5074 GB, free: 8.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4237, allocations: 0 / 0.5074 GB, free: 8.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-05/0.4237, allocations: 11.72 kB / 0.5074 GB, free: 8.762 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.4239, allocations: 22.66 kB / 0.5075 GB, free: 8.762 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000213/0.4242, allocations: 110.8 kB / 0.5076 GB, free: 8.668 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.4243, allocations: 0.6927 MB / 0.5082 GB, free: 7.973 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.171e-05/0.4243, allocations: 6.891 kB / 0.5083 GB, free: 7.969 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/0.4244, allocations: 11.28 kB / 0.5083 GB, free: 7.965 MB / 330.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4244, allocations: 0 / 0.5083 GB, free: 7.965 MB / 330.7 MB Notification: Performance of Templates: time 0.002283/0.4267, allocations: 0.539 MB / 0.5088 GB, free: 7.887 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/jenkins/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