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.001097/0.001097, 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.001123/0.001123, allocations: 143 kB / 24.89 MB, free: 8.793 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.8486/0.8486, allocations: 173.4 MB / 201.5 MB, free: 8.273 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.212e-06/1.212e-06, allocations: 0 / 268.5 MB, free: 9.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198e-05/1.32e-05, allocations: 6.078 kB / 268.5 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.001811/0.001824, allocations: 1.643 MB / 270.1 MB, free: 8.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006963/0.00252, allocations: 0.5503 MB / 270.7 MB, free: 7.605 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.345e-05/0.002594, allocations: 8.625 kB / 270.7 MB, free: 7.598 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.134e-05/0.002635, allocations: 11.86 kB / 270.7 MB, free: 7.586 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.002842, allocations: 33.81 kB / 270.7 MB, free: 7.555 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.003009, allocations: 67.8 kB / 270.8 MB, free: 7.488 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.902e-05/0.003108, allocations: 75.77 kB / 270.9 MB, free: 7.414 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.241e-05/0.00318, allocations: 12.22 kB / 270.9 MB, free: 7.398 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.887e-05/0.003269, allocations: 53.11 kB / 270.9 MB, free: 7.348 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.186e-05/0.003321, allocations: 27.91 kB / 271 MB, free: 7.32 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.003339, allocations: 4 kB / 271 MB, free: 7.316 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.003351, allocations: 4 kB / 271 MB, free: 7.312 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.003397, allocations: 28.56 kB / 271 MB, free: 7.285 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.003424, allocations: 16.52 kB / 271 MB, free: 7.27 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.487e-05/0.003518, allocations: 59.8 kB / 271.1 MB, free: 7.211 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-06/0.00352, allocations: 1.969 kB / 271.1 MB, free: 7.211 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.00352, allocations: 0 / 271.1 MB, free: 7.211 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.003523, allocations: 0 / 271.1 MB, free: 7.211 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.000326/0.003849, allocations: 300.5 kB / 271.4 MB, free: 6.895 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.003878, allocations: 12.02 kB / 271.4 MB, free: 6.883 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.003906, allocations: 13.53 kB / 271.4 MB, free: 6.871 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.004044, allocations: 151 kB / 271.5 MB, free: 6.699 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.00406, allocations: 8.375 kB / 271.6 MB, free: 6.691 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.004073, allocations: 9.375 kB / 271.6 MB, free: 6.684 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.004293, allocations: 199.6 kB / 271.8 MB, free: 6.465 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.004299, allocations: 192 / 271.8 MB, free: 6.465 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.004306, allocations: 384 / 271.8 MB, free: 6.465 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.004313, allocations: 7.938 kB / 271.8 MB, free: 6.457 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.361e-05/0.004346, allocations: 23.98 kB / 271.8 MB, free: 6.434 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.004499, allocations: 166 kB / 272 MB, free: 6.25 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.495e-05/0.004564, allocations: 79.56 kB / 272 MB, free: 6.145 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.074e-05/0.004594, allocations: 30.89 kB / 272.1 MB, free: 6.105 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.00461, allocations: 8 kB / 272.1 MB, free: 6.098 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.004628, allocations: 30.56 kB / 272.1 MB, free: 6.059 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 8.41e-07/0.004629, allocations: 4 kB / 272.1 MB, free: 6.055 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001304/0.004759, allocations: 93.47 kB / 272.2 MB, free: 5.957 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.004808, allocations: 106.8 kB / 272.3 MB, free: 5.828 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.58e-05/0.004874, allocations: 137.8 kB / 272.4 MB, free: 5.684 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.004885, allocations: 33.69 kB / 272.5 MB, free: 5.645 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.393e-05/0.004909, allocations: 84.12 kB / 272.5 MB, free: 5.559 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.004922, allocations: 7.953 kB / 272.6 MB, free: 5.551 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.00495, allocations: 29.77 kB / 272.6 MB, free: 5.516 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.541e-05/0.005015, allocations: 322.8 kB / 272.9 MB, free: 5.191 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-06/0.005024, allocations: 4 kB / 272.9 MB, free: 5.188 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.401e-05/0.005048, allocations: 31.42 kB / 272.9 MB, free: 5.145 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.547e-05/0.005083, allocations: 39.36 kB / 273 MB, free: 5.094 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.005085, allocations: 0 / 273 MB, free: 5.094 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.365e-05/0.005138, allocations: 61.62 kB / 273 MB, free: 5.027 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.005148, allocations: 8 kB / 273 MB, free: 5.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.005151, allocations: 0 / 273 MB, free: 5.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.005161, allocations: 3.938 kB / 273 MB, free: 5.016 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.391e-05/0.005215, allocations: 11.98 kB / 273.1 MB, free: 5.004 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.005217, allocations: 4 kB / 273.1 MB, free: 5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.967e-05/0.005237, allocations: 0 / 273.1 MB, free: 5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.005242, allocations: 8 kB / 273.1 MB, free: 4.992 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 6.086e-05/0.005303, allocations: 120.6 kB / 273.2 MB, free: 4.863 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.005357, allocations: 62.3 kB / 273.2 MB, free: 4.797 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.005382, allocations: 24.52 kB / 273.3 MB, free: 4.77 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.005387, allocations: 11.94 kB / 273.3 MB, free: 4.758 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.005388, allocations: 0 / 273.3 MB, free: 4.758 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.005391, allocations: 0 / 273.3 MB, free: 4.758 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.091e-05/0.005472, allocations: 89.69 kB / 273.4 MB, free: 4.652 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.005473, allocations: 0 / 273.4 MB, free: 4.652 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.695e-05/0.00552, allocations: 19.98 kB / 273.4 MB, free: 4.633 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.005522, allocations: 0 / 273.4 MB, free: 4.633 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.005528, allocations: 7.984 kB / 273.4 MB, free: 4.625 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.00553, allocations: 4 kB / 273.4 MB, free: 4.621 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.005531, allocations: 0 / 273.4 MB, free: 4.621 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.034e-05/0.005592, allocations: 149.1 kB / 273.5 MB, free: 4.453 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.005621, allocations: 19.91 kB / 273.6 MB, free: 4.434 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.005636, allocations: 8 kB / 273.6 MB, free: 4.426 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.834e-05/0.005675, allocations: 3.984 kB / 273.6 MB, free: 4.422 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.005693, allocations: 7.938 kB / 273.6 MB, free: 4.414 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.005697, allocations: 4 kB / 273.6 MB, free: 4.41 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.171e-05/0.005718, allocations: 31.92 kB / 273.6 MB, free: 4.379 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005718, allocations: 0 / 273.6 MB, free: 4.379 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001218/0.00584, allocations: 8 kB / 273.6 MB, free: 4.371 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: 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 6.109e-05/0.005901, allocations: 92.44 kB / 273.7 MB, free: 4.273 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.332e-05/0.005965, allocations: 36.78 kB / 273.8 MB, free: 4.234 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.005968, allocations: 4 kB / 273.8 MB, free: 4.23 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.226e-05/0.00598, allocations: 4.859 kB / 273.8 MB, free: 4.223 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.006158, allocations: 46.61 kB / 273.8 MB, free: 4.18 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.006566, allocations: 245.1 kB / 274.1 MB, free: 3.902 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.587e-05/0.006602, allocations: 67.64 kB / 274.1 MB, free: 3.816 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.037e-05/0.006623, allocations: 12.72 kB / 274.1 MB, free: 3.805 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/0.006673, allocations: 63.36 kB / 274.2 MB, free: 3.742 MB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/0.006674, allocations: 0 / 274.2 MB, free: 3.742 MB / 250.7 MB Notification: Performance of Templates: time 0.002232/0.008906, allocations: 1.028 MB / 275.2 MB, free: 2.742 MB / 250.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.5068665188737214]