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.002586/0.002586, allocations: 95.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.003005/0.003005, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 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.552/1.552, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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 6.291e-06/6.291e-06, allocations: 3.984 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/3.164e-05, allocations: 2.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003105/0.003136, allocations: 1.629 MB / 274 MB, free: 184 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.004632, allocations: 0.6195 MB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.847e-05/0.004711, allocations: 7.938 kB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.704e-05/0.004758, allocations: 3.938 kB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.004978, allocations: 35.72 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.00526, allocations: 75.72 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.005401, allocations: 83.69 kB / 274.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.007e-05/0.005471, allocations: 8 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.005645, allocations: 63.75 kB / 274.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.831e-05/0.005703, allocations: 19.92 kB / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.005726, allocations: 8 kB / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.978e-05/0.005766, allocations: 12 kB / 274.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.005815, allocations: 23.91 kB / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.273e-05/0.005857, allocations: 19.92 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.006037, allocations: 87.73 kB / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.00604, allocations: 0 / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.006041, allocations: 0 / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.006045, allocations: 0 / 275 MB, free: 15.11 MB / 266.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.0006527/0.006698, allocations: 435.8 kB / 275.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.006731, allocations: 12.02 kB / 275.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.006889, allocations: 28.84 kB / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.007135, allocations: 160.9 kB / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.007155, allocations: 4.375 kB / 275.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.007171, allocations: 8.375 kB / 275.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000496/0.007667, allocations: 228.5 kB / 275.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.007681, allocations: 7.875 kB / 275.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.007694, allocations: 4 kB / 275.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.007697, allocations: 0 / 275.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.007847, allocations: 43.97 kB / 275.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.008234, allocations: 295.1 kB / 276.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.00847, allocations: 117.4 kB / 276.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.008609, allocations: 59.05 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.008643, allocations: 7.984 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.008685, allocations: 45.38 kB / 276.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.008686, allocations: 0 / 276.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004291/0.009115, allocations: 141.5 kB / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.009225, allocations: 118.8 kB / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.009419, allocations: 209.3 kB / 276.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.009455, allocations: 33.64 kB / 276.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.009556, allocations: 134.9 kB / 277.1 MB, free: 12.81 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.009585, allocations: 19.89 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.009638, allocations: 23.38 kB / 277.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002885/0.009927, allocations: 0.4963 MB / 277.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.015e-05/0.009977, allocations: 12 kB / 277.6 MB, free: 12.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.211e-05/0.01006, allocations: 54.72 kB / 277.7 MB, free: 12.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.01018, allocations: 70.61 kB / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01018, allocations: 0 / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001702/0.01035, allocations: 85.55 kB / 277.8 MB, free: 12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.01037, allocations: 8 kB / 277.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.01037, allocations: 0 / 277.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.01039, allocations: 0 / 277.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.667e-05/0.01048, allocations: 11.98 kB / 277.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.01048, allocations: 4 kB / 277.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.09e-05/0.01052, allocations: 4 kB / 277.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.01053, allocations: 4 kB / 277.9 MB, free: 11.96 MB / 266.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 0.0001412/0.01067, allocations: 168.5 kB / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.01088, allocations: 97.62 kB / 278.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.675e-05/0.01092, allocations: 20.55 kB / 278.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.01093, allocations: 4 kB / 278.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01093, allocations: 0 / 278.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01094, allocations: 0 / 278.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.01114, allocations: 148.5 kB / 278.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01114, allocations: 0.625 kB / 278.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.01125, allocations: 23.92 kB / 278.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01125, allocations: 0 / 278.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.01126, allocations: 4 kB / 278.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.01127, allocations: 4 kB / 278.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01127, allocations: 0 / 278.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.01163, allocations: 295 kB / 278.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.313e-05/0.0117, allocations: 27.83 kB / 278.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.01172, allocations: 0 / 278.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.0118, allocations: 4 kB / 278.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.01184, allocations: 3.984 kB / 278.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.01185, allocations: 8 kB / 278.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001228/0.01197, allocations: 151.2 kB / 278.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01197, allocations: 0 / 278.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002201/0.01219, allocations: 8 kB / 278.8 MB, free: 10.94 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 0.0001446/0.01233, allocations: 107.2 kB / 278.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.01254, allocations: 67.59 kB / 279 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01254, allocations: 0 / 279 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.794e-05/0.01258, allocations: 15.62 kB / 279 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.01301, allocations: 65.09 kB / 279.1 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006249/0.01363, allocations: 258 kB / 279.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.01374, allocations: 92.62 kB / 279.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.223e-05/0.01377, allocations: 8.484 kB / 279.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.303e-05/0.01382, allocations: 12.5 kB / 279.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01382, allocations: 0 / 279.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of Templates: time 0.004008/0.01782, allocations: 1.002 MB / 280.4 MB, free: 9.273 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 240] 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.515844641951844]