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.001961/0.001961, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002345/0.002345, allocations: 212 kB / 23.73 MB, free: 4.387 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.531/1.531, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001795/0.001795, allocations: 55.92 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2647, allocations: 53.36 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002977/0.2677, allocations: 1.629 MB / 433.2 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.2689, allocations: 0.5921 MB / 433.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.911e-05/0.269, allocations: 0 / 433.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.969e-05/0.269, allocations: 7.875 kB / 433.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.2693, allocations: 35.78 kB / 433.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.2696, allocations: 75.78 kB / 433.9 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.2697, allocations: 75.77 kB / 434 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.677e-05/0.2698, allocations: 15.98 kB / 434 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.27, allocations: 43.78 kB / 434.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.414e-05/0.27, allocations: 35.84 kB / 434.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.2701, allocations: 4 kB / 434.1 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.433e-05/0.2701, allocations: 8 kB / 434.1 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.577e-05/0.2702, allocations: 23.92 kB / 434.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.2702, allocations: 31.78 kB / 434.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.2704, allocations: 85.83 kB / 434.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2704, allocations: 0 / 434.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2704, allocations: 4 kB / 434.2 MB, free: 4.055 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.2704, allocations: 0 / 434.2 MB, free: 4.055 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.0006003/0.271, allocations: 333.9 kB / 434.6 MB, free: 3.699 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.271, allocations: 16.03 kB / 434.6 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.2712, allocations: 24.83 kB / 434.6 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.2715, allocations: 150.8 kB / 434.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.2715, allocations: 8.375 kB / 434.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.2715, allocations: 8.125 kB / 434.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005013/0.272, allocations: 221.7 kB / 435 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.272, allocations: 3.938 kB / 435 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.272, allocations: 0 / 435 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.272, allocations: 0 / 435 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.2722, allocations: 51.95 kB / 435 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.2725, allocations: 230.1 kB / 435.3 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.2728, allocations: 103.8 kB / 435.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.2729, allocations: 46.75 kB / 435.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.2729, allocations: 11.98 kB / 435.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.2729, allocations: 34.55 kB / 435.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.2729, allocations: 0 / 435.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004415/0.2734, allocations: 153.5 kB / 435.6 MB, free: 2.523 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.504e-05/0.2735, allocations: 110.8 kB / 435.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.2736, allocations: 149 kB / 435.9 MB, free: 2.238 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.2736, allocations: 29.83 kB / 435.9 MB, free: 2.203 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.2737, allocations: 96.14 kB / 436 MB, free: 2.105 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.2737, allocations: 11.89 kB / 436 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.247e-05/0.2738, allocations: 37.64 kB / 436 MB, free: 2.051 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.2739, allocations: 318.8 kB / 436.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.524e-05/0.274, allocations: 23.98 kB / 436.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.2741, allocations: 92.42 kB / 436.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.2743, allocations: 121.2 kB / 436.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2743, allocations: 0 / 436.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000243/0.2745, allocations: 137.4 kB / 436.7 MB, free: 1.293 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2745, allocations: 8 kB / 436.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.2745, allocations: 0 / 436.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2745, allocations: 4 kB / 436.7 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.2747, allocations: 23.98 kB / 436.7 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.2747, allocations: 7.938 kB / 436.8 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.824e-05/0.2747, allocations: 12.23 kB / 436.8 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.2748, allocations: 12 kB / 436.8 MB, free: 1.227 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.0001183/0.2749, allocations: 137.7 kB / 436.9 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.2751, allocations: 93.56 kB / 437 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.11e-05/0.2751, allocations: 20.39 kB / 437 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2751, allocations: 0 / 437 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.2751, allocations: 4 kB / 437 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2751, allocations: 0 / 437 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.2753, allocations: 129.2 kB / 437.2 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2753, allocations: 0.625 kB / 437.2 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.2754, allocations: 19.98 kB / 437.2 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.2754, allocations: 8 kB / 437.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.2754, allocations: 0 / 437.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.2754, allocations: 7.938 kB / 437.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2754, allocations: 4 kB / 437.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.2758, allocations: 229 kB / 437.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/0.2758, allocations: 23.89 kB / 437.4 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.2758, allocations: 0 / 437.4 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.2759, allocations: 11.98 kB / 437.5 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.276, allocations: 0 / 437.5 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.276, allocations: 4 kB / 437.5 MB, free: 488 kB / 334.1 MB Notification: Performance of sorting global known variables: time 9.6e-05/0.2761, allocations: 119.2 kB / 437.6 MB, free: 368 kB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2761, allocations: 0 / 437.6 MB, free: 368 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.2763, allocations: 16 kB / 437.6 MB, free: 352 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.0001131/0.2765, allocations: 101.6 kB / 437.7 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.2767, allocations: 79.83 kB / 437.8 MB, free: 164 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2767, allocations: 4.625 kB / 437.8 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.654e-05/0.2767, allocations: 12 kB / 437.8 MB, free: 148 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.2772, allocations: 60 kB / 437.8 MB, free: 92 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006813/0.2779, allocations: 261.4 kB / 438.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.718e-05/0.278, allocations: 92.19 kB / 438.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.03e-05/0.278, allocations: 8.484 kB / 438.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.278, allocations: 15.5 kB / 438.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.278, allocations: 0 / 438.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of Templates: time 0.004033/0.2821, allocations: 1.091 MB / 439.3 MB, free: 14.6 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins/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: 4.667767407372594]