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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008568/0.0008568, allocations: 148.8 kB / 24.89 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8725/0.8725, allocations: 173.4 MB / 201.5 MB, free: 8.285 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 268.5 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.102e-05, allocations: 7.375 kB / 268.5 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.0028/0.002821, allocations: 1.631 MB / 270.1 MB, free: 8.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009439/0.003764, allocations: 0.4946 MB / 270.6 MB, free: 7.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.401e-05/0.003848, allocations: 4.656 kB / 270.6 MB, free: 7.656 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.449e-05/0.003903, allocations: 3.938 kB / 270.6 MB, free: 7.652 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.004054, allocations: 21.5 kB / 270.6 MB, free: 7.633 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.00434, allocations: 47.77 kB / 270.7 MB, free: 7.586 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.004463, allocations: 51.78 kB / 270.7 MB, free: 7.535 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.739e-05/0.00455, allocations: 12.17 kB / 270.7 MB, free: 7.523 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.004668, allocations: 24.7 kB / 270.8 MB, free: 7.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.032e-05/0.004729, allocations: 16.53 kB / 270.8 MB, free: 7.484 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.00475, allocations: 4 kB / 270.8 MB, free: 7.48 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.004762, allocations: 4.625 kB / 270.8 MB, free: 7.477 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.953e-05/0.004812, allocations: 15.92 kB / 270.8 MB, free: 7.461 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.004839, allocations: 12.56 kB / 270.8 MB, free: 7.449 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.004952, allocations: 49.39 kB / 270.9 MB, free: 7.402 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.004954, allocations: 0 / 270.9 MB, free: 7.402 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.004954, allocations: 0 / 270.9 MB, free: 7.402 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.004958, allocations: 0 / 270.9 MB, free: 7.402 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.0003647/0.005322, allocations: 276.6 kB / 271.1 MB, free: 7.109 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.00536, allocations: 13.69 kB / 271.2 MB, free: 7.098 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.005392, allocations: 4.938 kB / 271.2 MB, free: 7.094 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.005586, allocations: 137.4 kB / 271.3 MB, free: 6.938 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.005597, allocations: 8.312 kB / 271.3 MB, free: 6.93 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.00561, allocations: 384 / 271.3 MB, free: 6.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.005831, allocations: 125.2 kB / 271.4 MB, free: 6.785 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.005842, allocations: 4.125 kB / 271.4 MB, free: 6.781 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.005853, allocations: 8.125 kB / 271.4 MB, free: 6.773 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.005858, allocations: 1.188 kB / 271.4 MB, free: 6.773 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.455e-05/0.005883, allocations: 8 kB / 271.4 MB, free: 6.766 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.006089, allocations: 166.4 kB / 271.6 MB, free: 6.582 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.005e-05/0.00616, allocations: 60.39 kB / 271.7 MB, free: 6.496 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/0.006179, allocations: 19.14 kB / 271.7 MB, free: 6.469 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.006195, allocations: 7.984 kB / 271.7 MB, free: 6.461 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.006212, allocations: 34.56 kB / 271.7 MB, free: 6.418 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.006214, allocations: 0 / 271.7 MB, free: 6.418 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001096/0.006323, allocations: 61.5 kB / 271.8 MB, free: 6.352 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.006369, allocations: 106.8 kB / 271.9 MB, free: 6.223 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.844e-05/0.006437, allocations: 138.6 kB / 272 MB, free: 6.074 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.006445, allocations: 25.7 kB / 272 MB, free: 6.043 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.67e-05/0.006472, allocations: 88.12 kB / 272.1 MB, free: 5.953 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.209e-05/0.006484, allocations: 4.328 kB / 272.1 MB, free: 5.949 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/0.006505, allocations: 17.72 kB / 272.2 MB, free: 5.926 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.859e-05/0.006573, allocations: 318.8 kB / 272.5 MB, free: 5.605 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-06/0.00658, allocations: 4 kB / 272.5 MB, free: 5.602 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.05e-06/0.006585, allocations: 0 / 272.5 MB, free: 5.602 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.808e-05/0.006603, allocations: 12.8 kB / 272.5 MB, free: 5.586 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.006604, allocations: 0 / 272.5 MB, free: 5.586 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.256e-05/0.006637, allocations: 33.69 kB / 272.5 MB, free: 5.547 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.006647, allocations: 4 kB / 272.5 MB, free: 5.543 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.006651, allocations: 3.938 kB / 272.5 MB, free: 5.539 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/0.00666, allocations: 8.094 kB / 272.5 MB, free: 5.531 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.979e-05/0.00671, allocations: 0 / 272.5 MB, free: 5.531 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.006712, allocations: 0 / 272.5 MB, free: 5.531 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.368e-05/0.006726, allocations: 4 kB / 272.5 MB, free: 5.527 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.00673, allocations: 0 / 272.5 MB, free: 5.527 MB / 250.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 4.939e-05/0.00678, allocations: 116.7 kB / 272.7 MB, free: 5.402 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.006813, allocations: 41.64 kB / 272.7 MB, free: 5.355 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.006841, allocations: 23.84 kB / 272.7 MB, free: 5.328 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.006842, allocations: 3.938 kB / 272.7 MB, free: 5.324 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.006845, allocations: 4.062 kB / 272.7 MB, free: 5.32 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.006848, allocations: 0 / 272.7 MB, free: 5.32 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.315e-05/0.006931, allocations: 77.88 kB / 272.8 MB, free: 5.227 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006932, allocations: 0 / 272.8 MB, free: 5.227 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-05/0.006955, allocations: 4 kB / 272.8 MB, free: 5.223 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.006957, allocations: 7.984 kB / 272.8 MB, free: 5.215 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.006964, allocations: 3.984 kB / 272.8 MB, free: 5.211 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.006965, allocations: 0 / 272.8 MB, free: 5.211 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.006969, allocations: 15.88 kB / 272.8 MB, free: 5.195 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.894e-05/0.007038, allocations: 141.3 kB / 273 MB, free: 5.035 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.523e-05/0.007063, allocations: 19.98 kB / 273 MB, free: 5.016 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.406e-06/0.007071, allocations: 0 / 273 MB, free: 5.016 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.185e-05/0.007103, allocations: 4 kB / 273 MB, free: 5.012 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.07e-05/0.007124, allocations: 7.922 kB / 273 MB, free: 5.004 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.007127, allocations: 0 / 273 MB, free: 5.004 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.428e-05/0.007151, allocations: 35.92 kB / 273 MB, free: 4.969 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007151, allocations: 0 / 273 MB, free: 4.969 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001143/0.007265, allocations: 4 kB / 273 MB, free: 4.965 MB / 250.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 5.825e-05/0.007324, allocations: 80.36 kB / 273.1 MB, free: 4.879 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.707e-05/0.007371, allocations: 16.84 kB / 273.1 MB, free: 4.859 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.007374, allocations: 4 kB / 273.1 MB, free: 4.855 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.847e-06/0.007382, allocations: 4.859 kB / 273.1 MB, free: 4.848 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.007554, allocations: 26.67 kB / 273.2 MB, free: 4.82 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.0079, allocations: 187.8 kB / 273.4 MB, free: 4.605 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.785e-05/0.007938, allocations: 63.66 kB / 273.4 MB, free: 4.523 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.383e-05/0.007962, allocations: 7.906 kB / 273.4 MB, free: 4.516 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/0.008013, allocations: 59.36 kB / 273.5 MB, free: 4.457 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008014, allocations: 0 / 273.5 MB, free: 4.457 MB / 250.7 MB Notification: Performance of Templates: time 0.002084/0.0101, allocations: 0.6487 MB / 274.1 MB, free: 3.82 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.4355461476370692]