Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 162.8 kB / 25.6 MB, free: 8.59 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9404/0.9404, allocations: 177.2 MB / 206.1 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 274.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/2.972e-05, allocations: 2.312 kB / 274.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003502/0.003531, allocations: 1.627 MB / 275.8 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.004649, allocations: 0.5433 MB / 276.4 MB, free: 2.219 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.004752, allocations: 7.938 kB / 276.4 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.852e-05/0.00481, allocations: 7.922 kB / 276.4 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.00497, allocations: 17.36 kB / 276.4 MB, free: 2.188 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.005291, allocations: 67.69 kB / 276.5 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.005397, allocations: 47.84 kB / 276.5 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.938e-05/0.005486, allocations: 12.67 kB / 276.5 MB, free: 2.062 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.005613, allocations: 40.77 kB / 276.6 MB, free: 2.023 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.941e-05/0.005662, allocations: 19.92 kB / 276.6 MB, free: 2.004 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.005679, allocations: 4.625 kB / 276.6 MB, free: 2 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.941e-05/0.005718, allocations: 4 kB / 276.6 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.291e-05/0.005761, allocations: 18.41 kB / 276.6 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.005784, allocations: 23.91 kB / 276.6 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.005916, allocations: 43.77 kB / 276.7 MB, free: 1.914 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.005919, allocations: 0 / 276.7 MB, free: 1.914 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.00592, allocations: 0 / 276.7 MB, free: 1.914 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.005924, allocations: 4 kB / 276.7 MB, free: 1.91 MB / 250.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.0003776/0.006302, allocations: 402.2 kB / 277.1 MB, free: 1.484 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.006333, allocations: 8.031 kB / 277.1 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.00645, allocations: 20.88 kB / 277.1 MB, free: 1.457 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.006616, allocations: 157.5 kB / 277.3 MB, free: 1.277 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.006625, allocations: 5.031 kB / 277.3 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-06/0.006633, allocations: 4.375 kB / 277.3 MB, free: 1.27 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.006799, allocations: 133 kB / 277.4 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.006807, allocations: 0 / 277.4 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.006814, allocations: 3.938 kB / 277.4 MB, free: 1.105 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.00682, allocations: 4 kB / 277.4 MB, free: 1.102 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.915e-05/0.006839, allocations: 7.938 kB / 277.4 MB, free: 1.094 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.007052, allocations: 255.8 kB / 277.7 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.016e-05/0.007122, allocations: 85.25 kB / 277.7 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.764e-05/0.00715, allocations: 31.11 kB / 277.8 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.007167, allocations: 3.938 kB / 277.8 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.007201, allocations: 45.33 kB / 277.8 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.007202, allocations: 0 / 277.8 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001431/0.007345, allocations: 61.58 kB / 277.9 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.007394, allocations: 102.8 kB / 278 MB, free: 404 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.532e-05/0.007489, allocations: 204.3 kB / 278.2 MB, free: 184 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.007499, allocations: 29.7 kB / 278.2 MB, free: 148 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.007551, allocations: 142.7 kB / 278.4 MB, free: 0 / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.007565, allocations: 4.047 kB / 278.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.007594, allocations: 27.3 kB / 278.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.007707, allocations: 496.1 kB / 278.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.106e-06/0.007715, allocations: 0 / 278.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-06/0.007722, allocations: 4 kB / 278.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.199e-05/0.007744, allocations: 7.688 kB / 278.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.007751, allocations: 3.938 kB / 278.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.495e-05/0.007796, allocations: 37.72 kB / 278.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.007808, allocations: 12.02 kB / 278.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.007812, allocations: 0 / 278.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/0.00782, allocations: 0 / 278.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.504e-05/0.007865, allocations: 4 kB / 278.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.007868, allocations: 3.938 kB / 278.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/0.007884, allocations: 8 kB / 279 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.007889, allocations: 0 / 279 MB, free: 15.37 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.717e-05/0.007956, allocations: 156.5 kB / 279.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.008002, allocations: 45.64 kB / 279.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.008027, allocations: 16.03 kB / 279.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.008029, allocations: 0 / 279.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.00803, allocations: 4 kB / 279.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.008034, allocations: 7.922 kB / 279.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.898e-05/0.008133, allocations: 105.2 kB / 279.3 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.008135, allocations: 3.828 kB / 279.3 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.899e-05/0.008164, allocations: 15.98 kB / 279.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.008167, allocations: 3.938 kB / 279.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.008173, allocations: 4 kB / 279.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.008175, allocations: 3.984 kB / 279.3 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.008177, allocations: 4 kB / 279.3 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.379e-05/0.00827, allocations: 207.2 kB / 279.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.167e-05/0.008302, allocations: 31.8 kB / 279.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.008312, allocations: 0 / 279.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.161e-05/0.008344, allocations: 0 / 279.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.008368, allocations: 4 kB / 279.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.00837, allocations: 0 / 279.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.616e-05/0.008426, allocations: 154.1 kB / 279.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008426, allocations: 0 / 279.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001422/0.008569, allocations: 4 kB / 279.7 MB, free: 14.55 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.621e-05/0.008645, allocations: 99.28 kB / 279.8 MB, free: 14.44 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.691e-05/0.008712, allocations: 15.67 kB / 279.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.008713, allocations: 0 / 279.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.421e-05/0.008727, allocations: 15.62 kB / 279.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.008972, allocations: 24.8 kB / 279.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.009355, allocations: 192.8 kB / 280 MB, free: 14.15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.792e-05/0.009393, allocations: 67.2 kB / 280.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.979e-05/0.009413, allocations: 0 / 280.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.554e-05/0.009468, allocations: 78.19 kB / 280.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009469, allocations: 0 / 280.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of Templates: time 0.002247/0.01172, allocations: 0.687 MB / 280.9 MB, free: 13.31 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.713306840043515]