Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.51/1.51, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 47.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2672, allocations: 53.37 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.00313/0.2704, allocations: 1.617 MB / 434 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.2717, allocations: 0.5882 MB / 434.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.2718, allocations: 3.938 kB / 434.6 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.851e-05/0.2718, allocations: 3.938 kB / 434.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.2721, allocations: 35.78 kB / 434.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.2725, allocations: 86.97 kB / 434.7 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.2726, allocations: 75.78 kB / 434.8 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2727, allocations: 15.97 kB / 434.8 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.2729, allocations: 39.8 kB / 434.8 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.582e-05/0.2729, allocations: 35.83 kB / 434.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.273, allocations: 7.938 kB / 434.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.6e-05/0.273, allocations: 12 kB / 434.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.224e-05/0.2731, allocations: 19.86 kB / 434.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.023e-05/0.2731, allocations: 31.8 kB / 434.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.2733, allocations: 94.3 kB / 435 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2733, allocations: 0 / 435 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2733, allocations: 0 / 435 MB, free: 4.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.2733, allocations: 0 / 435 MB, free: 4.066 MB / 334.1 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.0005852/0.2739, allocations: 333.9 kB / 435.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.2739, allocations: 11.97 kB / 435.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.2741, allocations: 28.83 kB / 435.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.2744, allocations: 150.9 kB / 435.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.2744, allocations: 4.375 kB / 435.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.2744, allocations: 12.12 kB / 435.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004876/0.2749, allocations: 216.5 kB / 435.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.2749, allocations: 0 / 435.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.2749, allocations: 12 kB / 435.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2749, allocations: 0 / 435.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.2751, allocations: 47.95 kB / 435.8 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.2754, allocations: 238.1 kB / 436 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.2757, allocations: 99.88 kB / 436.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.2758, allocations: 46.62 kB / 436.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.2758, allocations: 4 kB / 436.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.2758, allocations: 38.55 kB / 436.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.2758, allocations: 4 kB / 436.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004277/0.2763, allocations: 141.5 kB / 436.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.754e-05/0.2763, allocations: 115.3 kB / 436.5 MB, free: 2.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.2765, allocations: 153 kB / 436.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.2765, allocations: 25.7 kB / 436.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.2766, allocations: 88.14 kB / 436.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.2766, allocations: 19.89 kB / 436.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.2766, allocations: 25.72 kB / 436.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2768, allocations: 330.7 kB / 437.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.2768, allocations: 24.11 kB / 437.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.277, allocations: 93.36 kB / 437.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.2771, allocations: 121.3 kB / 437.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2771, allocations: 4 kB / 437.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002353/0.2774, allocations: 129.4 kB / 437.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2774, allocations: 4.344 kB / 437.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.2774, allocations: 8 kB / 437.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.2774, allocations: 4 kB / 437.5 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.2775, allocations: 35.91 kB / 437.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.2775, allocations: 7.922 kB / 437.5 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.756e-05/0.2776, allocations: 11.95 kB / 437.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.2776, allocations: 4 kB / 437.5 MB, free: 1.238 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$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 (14): * Single equations (assignments): 14 * 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 0.0001127/0.2777, allocations: 133.7 kB / 437.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.2779, allocations: 101.6 kB / 437.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.355e-05/0.278, allocations: 16.39 kB / 437.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.278, allocations: 0 / 437.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.278, allocations: 4 kB / 437.8 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.278, allocations: 4 kB / 437.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.2782, allocations: 129.2 kB / 437.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2782, allocations: 0 / 437.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.2783, allocations: 19.98 kB / 437.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2783, allocations: 0 / 437.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.2783, allocations: 11.94 kB / 437.9 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2783, allocations: 0 / 437.9 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2783, allocations: 0 / 437.9 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.2786, allocations: 225 kB / 438.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.2787, allocations: 27.89 kB / 438.2 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.2787, allocations: 8 kB / 438.2 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.331e-05/0.2788, allocations: 4.125 kB / 438.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.2788, allocations: 3.984 kB / 438.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.2788, allocations: 12 kB / 438.2 MB, free: 492 kB / 334.1 MB Notification: Performance of sorting global known variables: time 8.791e-05/0.2789, allocations: 115.2 kB / 438.3 MB, free: 376 kB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2789, allocations: 0 / 438.3 MB, free: 376 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.2792, allocations: 16 kB / 438.4 MB, free: 360 kB / 334.1 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 0.0001195/0.2793, allocations: 99.19 kB / 438.4 MB, free: 252 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.2795, allocations: 83.83 kB / 438.5 MB, free: 168 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2795, allocations: 0 / 438.5 MB, free: 168 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.897e-05/0.2796, allocations: 8 kB / 438.5 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.28, allocations: 58.67 kB / 438.6 MB, free: 104 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006732/0.2807, allocations: 283.9 kB / 438.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.351e-05/0.2808, allocations: 96.12 kB / 439 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.116e-05/0.2808, allocations: 19.38 kB / 439 MB, free: 15.65 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2808, allocations: 0 / 439 MB, free: 15.65 MB / 350.1 MB Notification: Performance of Templates: time 0.003036/0.2839, allocations: 1.223 MB / 440.2 MB, free: 14.43 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.822791683021933]