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.0008196/0.0008196, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001252/0.002072, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006675/0.0006675, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009276/0.001595, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9208/0.9208, allocations: 173.4 MB / 185.8 MB, free: 8.98 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0755/0.9963, allocations: 52.49 MB / 238.3 MB, free: 4.418 MB / 234.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.763e-06/1.763e-06, allocations: 0 / 239.6 MB, free: 3.156 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.501e-05, allocations: 2.875 kB / 239.6 MB, free: 3.152 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002426/0.002441, allocations: 1.688 MB / 241.3 MB, free: 1.457 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008387/0.00328, allocations: 0.5622 MB / 241.8 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.392e-05/0.003374, allocations: 7.938 kB / 241.8 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.717e-05/0.003421, allocations: 11.88 kB / 241.8 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.003601, allocations: 35.72 kB / 241.9 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.003829, allocations: 63.73 kB / 241.9 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.003969, allocations: 71.78 kB / 242 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.712e-05/0.004056, allocations: 16.2 kB / 242 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.004184, allocations: 47.91 kB / 242.1 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.706e-05/0.004251, allocations: 27.89 kB / 242.1 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.004276, allocations: 11.94 kB / 242.1 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.004289, allocations: 4 kB / 242.1 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.015e-05/0.00433, allocations: 19.94 kB / 242.1 MB, free: 0.5742 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/0.004371, allocations: 15.94 kB / 242.1 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.00449, allocations: 59.69 kB / 242.2 MB, free: 0.5 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.357e-05/0.004503, allocations: 0 / 242.2 MB, free: 0.5 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004504, allocations: 0 / 242.2 MB, free: 0.5 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.004521, allocations: 0 / 242.2 MB, free: 0.5 MB / 234.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.0004855/0.005006, allocations: 324.2 kB / 242.5 MB, free: 164 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.005038, allocations: 8.031 kB / 242.5 MB, free: 156 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.005074, allocations: 12.92 kB / 242.5 MB, free: 144 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.005266, allocations: 149.6 kB / 242.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.005285, allocations: 8.312 kB / 242.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.005297, allocations: 8.375 kB / 242.7 MB, free: 15.95 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.005547, allocations: 194.9 kB / 242.9 MB, free: 15.74 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-06/0.005551, allocations: 4.188 kB / 242.9 MB, free: 15.73 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-06/0.005556, allocations: 384 / 242.9 MB, free: 15.73 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.005561, allocations: 3.938 kB / 242.9 MB, free: 15.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.358e-05/0.005604, allocations: 27.92 kB / 242.9 MB, free: 15.7 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.005747, allocations: 165.9 kB / 243.1 MB, free: 15.52 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.611e-05/0.005823, allocations: 67.72 kB / 243.2 MB, free: 15.43 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.909e-05/0.005862, allocations: 38.81 kB / 243.2 MB, free: 15.38 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.005876, allocations: 0 / 243.2 MB, free: 15.38 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.005892, allocations: 34.56 kB / 243.2 MB, free: 15.34 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 8.51e-07/0.005893, allocations: 4 kB / 243.2 MB, free: 15.33 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001389/0.006032, allocations: 89.97 kB / 243.3 MB, free: 15.24 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.006088, allocations: 114.8 kB / 243.4 MB, free: 15.1 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/0.006168, allocations: 137.6 kB / 243.6 MB, free: 14.96 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.006181, allocations: 25.7 kB / 243.6 MB, free: 14.93 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.006216, allocations: 92.11 kB / 243.7 MB, free: 14.83 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.006233, allocations: 7.953 kB / 243.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.006274, allocations: 29.64 kB / 243.7 MB, free: 14.79 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.885e-05/0.006362, allocations: 318.8 kB / 244 MB, free: 14.47 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.114e-05/0.006374, allocations: 8 kB / 244 MB, free: 14.46 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.471e-05/0.006398, allocations: 31.55 kB / 244.1 MB, free: 14.42 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.274e-05/0.006441, allocations: 43.36 kB / 244.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.006442, allocations: 0 / 244.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.153e-05/0.006514, allocations: 57.56 kB / 244.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.006528, allocations: 10.5 kB / 244.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-06/0.006531, allocations: 0 / 244.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.43e-06/0.006536, allocations: 8.062 kB / 244.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.312e-05/0.006599, allocations: 15.98 kB / 244.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-06/0.006601, allocations: 0 / 244.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.346e-05/0.006635, allocations: 11.94 kB / 244.2 MB, free: 14.26 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-06/0.006639, allocations: 0 / 244.2 MB, free: 14.26 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.568e-05/0.006704, allocations: 119.8 kB / 244.3 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.584e-05/0.00679, allocations: 65.61 kB / 244.4 MB, free: 14.06 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.006819, allocations: 20.45 kB / 244.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.006823, allocations: 7.938 kB / 244.4 MB, free: 14.03 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.006824, allocations: 0 / 244.4 MB, free: 14.03 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.006827, allocations: 0 / 244.4 MB, free: 14.03 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.00694, allocations: 81.88 kB / 244.5 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006941, allocations: 0 / 244.5 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.966e-05/0.007031, allocations: 27.91 kB / 244.5 MB, free: 13.9 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.007071, allocations: 23.84 kB / 244.5 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.007076, allocations: 4 kB / 244.6 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.007083, allocations: 3.984 kB / 244.6 MB, free: 13.87 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.007086, allocations: 3.938 kB / 244.6 MB, free: 13.87 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.007088, allocations: 4 kB / 244.6 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.007249, allocations: 141.4 kB / 244.7 MB, free: 13.7 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.007281, allocations: 8 kB / 244.7 MB, free: 13.7 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.007407, allocations: 4.031 kB / 244.7 MB, free: 13.69 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.007436, allocations: 15.86 kB / 244.7 MB, free: 13.68 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.007444, allocations: 4 kB / 244.7 MB, free: 13.67 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.915e-05/0.007483, allocations: 32.81 kB / 244.8 MB, free: 13.64 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007483, allocations: 0 / 244.8 MB, free: 13.64 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001328/0.007616, allocations: 12 kB / 244.8 MB, free: 13.62 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 8.93e-05/0.007705, allocations: 84.52 kB / 244.9 MB, free: 13.54 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.203e-05/0.007797, allocations: 44.77 kB / 244.9 MB, free: 13.49 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.007803, allocations: 4.25 kB / 244.9 MB, free: 13.48 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.051e-05/0.007814, allocations: 8.859 kB / 244.9 MB, free: 13.47 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.008047, allocations: 58.59 kB / 245 MB, free: 13.42 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007591/0.008806, allocations: 241.1 kB / 245.2 MB, free: 13.14 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.803e-05/0.008854, allocations: 79.2 kB / 245.3 MB, free: 13.05 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.389e-05/0.008878, allocations: 4.734 kB / 245.3 MB, free: 13.04 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.806e-05/0.008936, allocations: 67.42 kB / 245.4 MB, free: 12.98 MB / 250.7 MB Notification: Performance of SimCode: time 1.012e-06/0.008937, allocations: 0 / 245.4 MB, free: 12.98 MB / 250.7 MB Notification: Performance of Templates: time 0.002464/0.0114, allocations: 1.037 MB / 246.4 MB, free: 11.96 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 -ignoreHideResult -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.3820267654955387]