Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.0009496/0.0009496, allocations: 78.19 kB / 21.42 MB, free: 3.082 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.0009904/0.0009904, allocations: 152.4 kB / 24.81 MB, free: 9.293 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.9528/0.9528, allocations: 173.4 MB / 201.4 MB, free: 9.184 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.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 268.4 MB, free: 6.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.356e-05, allocations: 6.25 kB / 268.4 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002683/0.002707, allocations: 1.647 MB / 270.1 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008971/0.003604, allocations: 0.549 MB / 270.6 MB, free: 3.945 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.537e-05/0.003689, allocations: 3.938 kB / 270.6 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.682e-05/0.003736, allocations: 11.92 kB / 270.6 MB, free: 3.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.003972, allocations: 27.78 kB / 270.7 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.00418, allocations: 79.61 kB / 270.7 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.004304, allocations: 75.77 kB / 270.8 MB, free: 3.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.074e-05/0.004395, allocations: 12.22 kB / 270.8 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.00451, allocations: 43.89 kB / 270.9 MB, free: 3.691 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.721e-05/0.004567, allocations: 23.91 kB / 270.9 MB, free: 3.668 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.004588, allocations: 8 kB / 270.9 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.36e-05/0.004601, allocations: 4 kB / 270.9 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.004652, allocations: 23.91 kB / 270.9 MB, free: 3.633 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.004685, allocations: 15.94 kB / 270.9 MB, free: 3.617 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.004804, allocations: 67.78 kB / 271 MB, free: 3.551 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.004806, allocations: 4 kB / 271 MB, free: 3.547 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004806, allocations: 0 / 271 MB, free: 3.547 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.00481, allocations: 3.938 kB / 271 MB, free: 3.543 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004399/0.005249, allocations: 436.1 kB / 271.4 MB, free: 3.082 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.005287, allocations: 8.031 kB / 271.4 MB, free: 3.074 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.005326, allocations: 16.89 kB / 271.5 MB, free: 3.059 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.005493, allocations: 156.4 kB / 271.6 MB, free: 2.879 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.005512, allocations: 8.359 kB / 271.6 MB, free: 2.871 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.005524, allocations: 12.38 kB / 271.6 MB, free: 2.859 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005504/0.006074, allocations: 207.6 kB / 271.8 MB, free: 2.633 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.006082, allocations: 192 / 271.8 MB, free: 2.633 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.006092, allocations: 4.375 kB / 271.8 MB, free: 2.629 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.006101, allocations: 7.938 kB / 271.8 MB, free: 2.621 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.232e-05/0.006144, allocations: 23.92 kB / 271.9 MB, free: 2.598 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002327/0.006376, allocations: 255.8 kB / 272.1 MB, free: 2.312 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.807e-05/0.006464, allocations: 93.11 kB / 272.2 MB, free: 2.184 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.468e-05/0.006509, allocations: 43.36 kB / 272.3 MB, free: 2.129 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.00653, allocations: 4 kB / 272.3 MB, free: 2.125 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.006558, allocations: 45.33 kB / 272.3 MB, free: 2.07 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.006559, allocations: 0 / 272.3 MB, free: 2.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001983/0.006757, allocations: 105.9 kB / 272.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.006814, allocations: 114.9 kB / 272.5 MB, free: 1.824 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.006917, allocations: 200.9 kB / 272.7 MB, free: 1.613 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.006928, allocations: 25.7 kB / 272.7 MB, free: 1.582 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.006978, allocations: 138.9 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.007001, allocations: 11.94 kB / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.007041, allocations: 31.31 kB / 272.9 MB, free: 1.391 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.007164, allocations: 496.1 kB / 273.4 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.007179, allocations: 12 kB / 273.4 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.325e-05/0.007213, allocations: 46.72 kB / 273.5 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.003e-05/0.007263, allocations: 50.69 kB / 273.5 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.007265, allocations: 4 kB / 273.5 MB, free: 0.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.339e-05/0.007348, allocations: 65.58 kB / 273.6 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.00736, allocations: 4 kB / 273.6 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.007367, allocations: 7.922 kB / 273.6 MB, free: 0.668 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.007381, allocations: 4 kB / 273.6 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.34e-05/0.007445, allocations: 8 kB / 273.6 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.007449, allocations: 8.062 kB / 273.6 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.112e-05/0.00748, allocations: 11.94 kB / 273.6 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.007484, allocations: 0 / 273.6 MB, free: 0.6367 MB / 250.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: 4 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,$CLKPRE.superSampleIpo.first,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.644e-05/0.007561, allocations: 163.9 kB / 273.8 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.007661, allocations: 85.56 kB / 273.9 MB, free: 388 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.339e-05/0.007695, allocations: 20.39 kB / 273.9 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.007696, allocations: 0 / 273.9 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.007698, allocations: 0 / 273.9 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.007701, allocations: 4 kB / 273.9 MB, free: 360 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.007827, allocations: 113.2 kB / 274 MB, free: 220 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.007829, allocations: 4 kB / 274 MB, free: 216 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.673e-05/0.007896, allocations: 19.98 kB / 274 MB, free: 196 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.007899, allocations: 4 kB / 274 MB, free: 192 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.007906, allocations: 0 / 274 MB, free: 192 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.007907, allocations: 0 / 274 MB, free: 192 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.00791, allocations: 7.938 kB / 274 MB, free: 184 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.008023, allocations: 207.2 kB / 274.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.00807, allocations: 23.89 kB / 274.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.008089, allocations: 8.125 kB / 274.3 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.423e-05/0.008153, allocations: 4 kB / 274.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.008178, allocations: 15.95 kB / 274.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.008183, allocations: 0 / 274.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.456e-05/0.008238, allocations: 143.2 kB / 274.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008238, allocations: 0 / 274.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.008462, allocations: 12 kB / 274.4 MB, free: 15.75 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: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.998e-05/0.008542, allocations: 107.1 kB / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.566e-05/0.008628, allocations: 43.61 kB / 274.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008629, allocations: 3.938 kB / 274.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.248e-05/0.008642, allocations: 7.938 kB / 274.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.008954, allocations: 54.53 kB / 274.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005506/0.009504, allocations: 245.7 kB / 274.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.929e-05/0.009553, allocations: 67.33 kB / 275 MB, free: 15.15 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.491e-05/0.009578, allocations: 4.734 kB / 275 MB, free: 15.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.969e-05/0.009648, allocations: 86.19 kB / 275 MB, free: 15.06 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.009649, allocations: 0 / 275 MB, free: 15.06 MB / 266.7 MB Notification: Performance of Templates: time 0.002897/0.01255, allocations: 1.048 MB / 276.1 MB, free: 14.04 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.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.735444227233529]