Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008979/0.0008979, allocations: 179.5 kB / 17.04 MB, free: 5.113 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 223.3 MB / 241 MB, free: 10.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007626/0.0007626, allocations: 96.22 kB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000246/0.000246, allocations: 11.98 kB / 351.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1985, allocations: 50.41 MB / 402.2 MB, free: 32.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.0015/0.2001, allocations: 1.274 MB / 403.5 MB, free: 31.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006779/0.2008, allocations: 483.2 kB / 404 MB, free: 30.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.772e-05/0.2009, allocations: 0.6875 kB / 404 MB, free: 30.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/0.201, allocations: 0 / 404 MB, free: 30.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.2011, allocations: 17.69 kB / 404 MB, free: 30.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.2013, allocations: 47.84 kB / 404 MB, free: 30.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.023e-05/0.2014, allocations: 39.84 kB / 404.1 MB, free: 30.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.639e-05/0.2015, allocations: 10.28 kB / 404.1 MB, free: 30.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.456e-05/0.2016, allocations: 23.91 kB / 404.1 MB, free: 30.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.162e-05/0.2017, allocations: 19.88 kB / 404.1 MB, free: 30.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.2017, allocations: 3.938 kB / 404.1 MB, free: 30.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.2017, allocations: 0.9688 kB / 404.1 MB, free: 30.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.088e-05/0.2017, allocations: 19.92 kB / 404.1 MB, free: 30.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.826e-05/0.2018, allocations: 25.7 kB / 404.2 MB, free: 30.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.474e-05/0.2018, allocations: 40.39 kB / 404.2 MB, free: 30.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2018, allocations: 3.438 kB / 404.2 MB, free: 30.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2018, allocations: 0 / 404.2 MB, free: 30.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.2019, allocations: 0 / 404.2 MB, free: 30.55 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.0003562/0.2022, allocations: 372.5 kB / 404.6 MB, free: 30.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.2023, allocations: 8.031 kB / 404.6 MB, free: 30.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.2023, allocations: 11.86 kB / 404.6 MB, free: 30.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.2024, allocations: 190.9 kB / 404.8 MB, free: 29.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.2025, allocations: 10.12 kB / 404.8 MB, free: 29.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.2025, allocations: 0 / 404.8 MB, free: 29.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.2027, allocations: 117.9 kB / 404.9 MB, free: 29.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2027, allocations: 3.984 kB / 404.9 MB, free: 29.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.2028, allocations: 3.953 kB / 404.9 MB, free: 29.74 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2028, allocations: 8 kB / 404.9 MB, free: 29.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.781e-05/0.2029, allocations: 31.91 kB / 404.9 MB, free: 29.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002396/0.2031, allocations: 266.7 kB / 405.2 MB, free: 29.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.466e-05/0.2032, allocations: 75.84 kB / 405.3 MB, free: 29.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.2033, allocations: 34.52 kB / 405.3 MB, free: 29.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.2033, allocations: 4 kB / 405.3 MB, free: 29.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.2033, allocations: 46.44 kB / 405.4 MB, free: 29.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2033, allocations: 0 / 405.4 MB, free: 29.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002391/0.2036, allocations: 89.52 kB / 405.4 MB, free: 29.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.2036, allocations: 110.8 kB / 405.6 MB, free: 28.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.688e-05/0.2037, allocations: 144.9 kB / 405.7 MB, free: 28.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.495e-06/0.2037, allocations: 25.7 kB / 405.7 MB, free: 28.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/0.2038, allocations: 92.52 kB / 405.8 MB, free: 28.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.218e-05/0.2038, allocations: 3.906 kB / 405.8 MB, free: 28.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.2038, allocations: 4 kB / 405.8 MB, free: 28.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.052e-05/0.2038, allocations: 318.8 kB / 406.1 MB, free: 28.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.082e-05/0.2039, allocations: 12 kB / 406.1 MB, free: 28.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.244e-05/0.2039, allocations: 31.42 kB / 406.2 MB, free: 28.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.441e-05/0.204, allocations: 16 kB / 406.2 MB, free: 28.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.204, allocations: 3.984 kB / 406.2 MB, free: 28.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001282/0.2041, allocations: 73.52 kB / 406.3 MB, free: 28.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2041, allocations: 8.125 kB / 406.3 MB, free: 28.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2042, allocations: 4 kB / 406.3 MB, free: 28.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2042, allocations: 0 / 406.3 MB, free: 28.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.613e-05/0.2043, allocations: 11.98 kB / 406.3 MB, free: 28.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2043, allocations: 7.938 kB / 406.3 MB, free: 28.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.171e-05/0.2043, allocations: 7.906 kB / 406.3 MB, free: 28.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.2043, allocations: 4 kB / 406.3 MB, free: 28.16 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.855e-05/0.2044, allocations: 121.8 kB / 406.4 MB, free: 28.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.29e-05/0.2045, allocations: 61.5 kB / 406.5 MB, free: 27.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.882e-05/0.2045, allocations: 15.86 kB / 406.5 MB, free: 27.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2045, allocations: 0 / 406.5 MB, free: 27.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2045, allocations: 0 / 406.5 MB, free: 27.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2045, allocations: 0 / 406.5 MB, free: 27.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.2047, allocations: 169.7 kB / 406.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2047, allocations: 0 / 406.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.2047, allocations: 11.98 kB / 406.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2047, allocations: 4 kB / 406.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.2047, allocations: 8.016 kB / 406.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2048, allocations: 0 / 406.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2048, allocations: 3.938 kB / 406.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.2049, allocations: 177.2 kB / 406.9 MB, free: 27.51 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.205, allocations: 100.9 kB / 407 MB, free: 27.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.205, allocations: 0 / 407 MB, free: 27.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.205, allocations: 11.94 kB / 407 MB, free: 27.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.2051, allocations: 0 / 407 MB, free: 27.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.2051, allocations: 8 kB / 407 MB, free: 27.37 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.088e-05/0.2051, allocations: 107.2 kB / 407.1 MB, free: 27.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2052, allocations: 0 / 407.1 MB, free: 27.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002052/0.2054, allocations: 4 kB / 407.1 MB, free: 27.26 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 7.918e-05/0.2054, allocations: 107.2 kB / 407.2 MB, free: 27.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.2056, allocations: 27.98 kB / 407.2 MB, free: 27.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2056, allocations: 0 / 407.2 MB, free: 27.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.674e-05/0.2056, allocations: 19.92 kB / 407.2 MB, free: 27.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.206, allocations: 29.95 kB / 407.3 MB, free: 27.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.2063, allocations: 228.9 kB / 407.5 MB, free: 26.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.2064, allocations: 0.6926 MB / 408.2 MB, free: 26.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.2064, allocations: 15.42 kB / 408.2 MB, free: 26.08 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2064, allocations: 0 / 408.2 MB, free: 26.08 MB / 298.7 MB Notification: Performance of Templates: time 0.001744/0.2082, allocations: 0.8056 MB / 409 MB, free: 25.27 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches