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.0009953/0.0009953, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.001167/0.001167, allocations: 150.2 kB / 24.81 MB, free: 9.285 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.989/0.989, allocations: 173.3 MB / 201.4 MB, free: 9.203 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 2.234e-06/2.234e-06, allocations: 0 / 268.4 MB, free: 6.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.329e-05, allocations: 6.25 kB / 268.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.00205/0.002073, allocations: 1.619 MB / 270 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007156/0.002789, allocations: 498.5 kB / 270.5 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.445e-05/0.002873, allocations: 11.94 kB / 270.5 MB, free: 4.035 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.358e-05/0.002917, allocations: 3.938 kB / 270.5 MB, free: 4.031 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.003044, allocations: 7.875 kB / 270.5 MB, free: 4.023 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.00326, allocations: 55.75 kB / 270.6 MB, free: 3.969 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.247e-05/0.003353, allocations: 51.78 kB / 270.7 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.399e-05/0.003447, allocations: 12.17 kB / 270.7 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.864e-05/0.003525, allocations: 23.92 kB / 270.7 MB, free: 3.883 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.707e-05/0.003572, allocations: 19.91 kB / 270.7 MB, free: 3.863 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.003588, allocations: 4 kB / 270.7 MB, free: 3.859 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-06/0.003597, allocations: 8 kB / 270.7 MB, free: 3.852 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.035e-05/0.003637, allocations: 11.98 kB / 270.7 MB, free: 3.84 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.003656, allocations: 11.94 kB / 270.7 MB, free: 3.828 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.766e-05/0.003744, allocations: 43.77 kB / 270.8 MB, free: 3.785 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.003745, allocations: 0 / 270.8 MB, free: 3.785 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.003745, allocations: 0 / 270.8 MB, free: 3.785 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.003749, allocations: 0 / 270.8 MB, free: 3.785 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.0004033/0.004153, allocations: 404.3 kB / 271.2 MB, free: 3.355 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.004187, allocations: 8.031 kB / 271.2 MB, free: 3.348 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.004218, allocations: 20.78 kB / 271.2 MB, free: 3.328 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.004354, allocations: 148.4 kB / 271.4 MB, free: 3.156 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.004362, allocations: 4.375 kB / 271.4 MB, free: 3.152 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.00437, allocations: 4.375 kB / 271.4 MB, free: 3.148 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.004531, allocations: 129.3 kB / 271.5 MB, free: 2.992 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.004536, allocations: 192 / 271.5 MB, free: 2.992 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.004543, allocations: 4.125 kB / 271.5 MB, free: 2.988 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.004548, allocations: 4 kB / 271.5 MB, free: 2.984 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.783e-05/0.004566, allocations: 15.92 kB / 271.5 MB, free: 2.969 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.004756, allocations: 247.8 kB / 271.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.81e-05/0.004814, allocations: 93.23 kB / 271.8 MB, free: 2.562 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.519e-05/0.004839, allocations: 35.11 kB / 271.9 MB, free: 2.516 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.004856, allocations: 0 / 271.9 MB, free: 2.516 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.004877, allocations: 45.33 kB / 271.9 MB, free: 2.461 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.51e-07/0.004877, allocations: 0 / 271.9 MB, free: 2.461 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001251/0.005003, allocations: 65.52 kB / 272 MB, free: 2.391 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.005048, allocations: 110.8 kB / 272.1 MB, free: 2.258 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.428e-05/0.005132, allocations: 201 kB / 272.3 MB, free: 2.047 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.447e-06/0.005142, allocations: 25.7 kB / 272.3 MB, free: 2.016 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.005189, allocations: 142.8 kB / 272.5 MB, free: 1.871 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.005202, allocations: 3.953 kB / 272.5 MB, free: 1.867 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.005226, allocations: 19.36 kB / 272.5 MB, free: 1.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003381/0.005564, allocations: 496.1 kB / 273 MB, free: 1.344 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-06/0.005573, allocations: 0 / 273 MB, free: 1.344 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-06/0.00558, allocations: 4.375 kB / 273 MB, free: 1.34 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.141e-05/0.005602, allocations: 15.67 kB / 273 MB, free: 1.32 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.005604, allocations: 4 kB / 273 MB, free: 1.316 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.311e-05/0.005647, allocations: 45.58 kB / 273 MB, free: 1.266 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.00566, allocations: 10.59 kB / 273 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.005664, allocations: 0 / 273 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.005673, allocations: 0 / 273 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.769e-05/0.005721, allocations: 4 kB / 273 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-06/0.005724, allocations: 0 / 273 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.385e-05/0.005738, allocations: 0 / 273 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.005742, allocations: 4.094 kB / 273 MB, free: 1.25 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 6.382e-05/0.005806, allocations: 164.6 kB / 273.2 MB, free: 1.078 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.005845, allocations: 45.59 kB / 273.3 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.915e-05/0.005874, allocations: 19.89 kB / 273.3 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.005875, allocations: 0 / 273.3 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.005877, allocations: 0 / 273.3 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.005881, allocations: 4 kB / 273.3 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.033e-05/0.005971, allocations: 105.2 kB / 273.4 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.005973, allocations: 0 / 273.4 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.472e-05/0.005998, allocations: 16.06 kB / 273.4 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.005999, allocations: 0 / 273.4 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-06/0.006003, allocations: 0 / 273.4 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.006004, allocations: 4 kB / 273.4 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.006006, allocations: 3.938 kB / 273.4 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.991e-05/0.006096, allocations: 207.2 kB / 273.6 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.599e-05/0.006122, allocations: 15.94 kB / 273.6 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.006134, allocations: 4 kB / 273.6 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.005e-05/0.006164, allocations: 0 / 273.6 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.006197, allocations: 3.938 kB / 273.6 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.006201, allocations: 8.031 kB / 273.6 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.8e-05/0.006259, allocations: 147.1 kB / 273.8 MB, free: 452 kB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00626, allocations: 3.938 kB / 273.8 MB, free: 448 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001356/0.006395, allocations: 7.938 kB / 273.8 MB, free: 440 kB / 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 6.76e-05/0.006463, allocations: 95.25 kB / 273.9 MB, free: 336 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.475e-05/0.006527, allocations: 23.61 kB / 273.9 MB, free: 308 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.006529, allocations: 0 / 273.9 MB, free: 308 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.113e-05/0.00654, allocations: 7.688 kB / 273.9 MB, free: 296 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.006743, allocations: 24.98 kB / 273.9 MB, free: 268 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.007089, allocations: 192.3 kB / 274.1 MB, free: 40 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.792e-05/0.007137, allocations: 63.34 kB / 274.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.685e-05/0.007164, allocations: 3.984 kB / 274.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.007213, allocations: 78.19 kB / 274.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.007213, allocations: 0 / 274.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of Templates: time 0.001893/0.009106, allocations: 0.6924 MB / 275 MB, free: 15.2 MB / 266.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.591226875782013]