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.001232/0.001232, allocations: 175.3 kB / 16.45 MB, free: 5.684 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.355/1.355, allocations: 205.4 MB / 222.6 MB, free: 9.117 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.0007763/0.0007763, allocations: 90.23 kB / 270.9 MB, free: 8.355 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.06838/0.06838, allocations: 12.6 MB / 331.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004247/0.0004247, allocations: 16 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07869/0.07914, allocations: 50.37 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample): time 0.001523/0.08071, allocations: 1.266 MB / 444.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007021/0.08145, allocations: 0.5156 MB / 444.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.334e-05/0.08156, allocations: 3.938 kB / 444.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.08159, allocations: 0 / 444.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.08171, allocations: 11.92 kB / 444.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.08197, allocations: 43.89 kB / 444.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.556e-05/0.08206, allocations: 51.78 kB / 444.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.596e-05/0.08215, allocations: 8.188 kB / 444.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.385e-05/0.08222, allocations: 23.92 kB / 445 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.08228, allocations: 27.78 kB / 445 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.0823, allocations: 3.938 kB / 445 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.08232, allocations: 0 / 445 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.08235, allocations: 8 kB / 445 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.05e-05/0.08238, allocations: 37.64 kB / 445 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.37e-05/0.08245, allocations: 31.92 kB / 445.1 MB, free: 13.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.08246, allocations: 4 kB / 445.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.08246, allocations: 0 / 445.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.08248, allocations: 0 / 445.1 MB, free: 13.73 MB / 298.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.0003659/0.08285, allocations: 371.3 kB / 445.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.08289, allocations: 8.031 kB / 445.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.08293, allocations: 7.906 kB / 445.4 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.08308, allocations: 202.7 kB / 445.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.761e-06/0.0831, allocations: 0 / 445.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.08311, allocations: 8 kB / 445.7 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.08337, allocations: 113.9 kB / 445.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.08339, allocations: 0 / 445.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.0834, allocations: 0 / 445.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.08341, allocations: 3.984 kB / 445.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.175e-05/0.0835, allocations: 39.86 kB / 445.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/0.08375, allocations: 270.5 kB / 446.1 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.8e-05/0.08385, allocations: 71.78 kB / 446.1 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.526e-05/0.08391, allocations: 34.62 kB / 446.2 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.08394, allocations: 4 kB / 446.2 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.08396, allocations: 46.48 kB / 446.2 MB, free: 12.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.08397, allocations: 0 / 446.2 MB, free: 12.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002332/0.08421, allocations: 81.61 kB / 446.3 MB, free: 12.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.08425, allocations: 119.2 kB / 446.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.52e-05/0.08434, allocations: 141.6 kB / 446.6 MB, free: 11.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.08436, allocations: 25.7 kB / 446.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.08439, allocations: 96.03 kB / 446.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.08441, allocations: 7.938 kB / 446.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.08442, allocations: 0 / 446.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.183e-05/0.08446, allocations: 310.8 kB / 447 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.196e-05/0.08451, allocations: 15.98 kB / 447 MB, free: 11.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.149e-05/0.08456, allocations: 39.42 kB / 447 MB, free: 11.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.256e-05/0.08461, allocations: 12 kB / 447.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.08462, allocations: 0 / 447.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001195/0.08474, allocations: 81.52 kB / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.08476, allocations: 4 kB / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.08477, allocations: 8 kB / 447.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.08479, allocations: 0 / 447.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.738e-05/0.08486, allocations: 15.88 kB / 447.2 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.08488, allocations: 3.984 kB / 447.2 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.08492, allocations: 12.08 kB / 447.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.08494, allocations: 4 kB / 447.2 MB, free: 11.33 MB / 298.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 5.392e-05/0.085, allocations: 118.5 kB / 447.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/0.08506, allocations: 53.53 kB / 447.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.0851, allocations: 15.83 kB / 447.4 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.0851, allocations: 4 kB / 447.4 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.08511, allocations: 0 / 447.4 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.08512, allocations: 3.984 kB / 447.4 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.08524, allocations: 173.7 kB / 447.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.08525, allocations: 4 kB / 447.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.656e-05/0.08531, allocations: 8 kB / 447.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.08532, allocations: 3.938 kB / 447.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.08534, allocations: 7.984 kB / 447.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.08534, allocations: 0 / 447.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.08535, allocations: 0 / 447.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.08549, allocations: 189 kB / 447.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.08554, allocations: 93 kB / 447.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.08556, allocations: 0 / 447.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.039e-05/0.08563, allocations: 8 kB / 447.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.08566, allocations: 0 / 447.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.08567, allocations: 4 kB / 447.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.802e-05/0.08573, allocations: 111.2 kB / 448 MB, free: 10.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08573, allocations: 0 / 448 MB, free: 10.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002217/0.08596, allocations: 7.953 kB / 448 MB, free: 10.44 MB / 298.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 6.897e-05/0.08603, allocations: 95.19 kB / 448.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.08616, allocations: 43.91 kB / 448.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.08617, allocations: 256 / 448.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.476e-05/0.08621, allocations: 12 kB / 448.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.08655, allocations: 27.95 kB / 448.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.08684, allocations: 228.5 kB / 448.4 MB, free: 9.992 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.08696, allocations: 0.6887 MB / 449.1 MB, free: 9.277 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.087, allocations: 11.44 kB / 449.1 MB, free: 9.266 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.087, allocations: 0 / 449.1 MB, free: 9.266 MB / 298.7 MB Notification: Performance of Templates: time 0.001793/0.0888, allocations: 0.8205 MB / 449.9 MB, free: 8.449 MB / 298.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