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.0008935/0.0008935, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004266/0.004266, allocations: 160.2 kB / 24.7 MB, free: 9.418 MB / 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 0.86/0.86, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.233e-06/1.233e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/1.983e-05, allocations: 6.281 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.001858/0.001877, allocations: 1.622 MB / 327.5 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008/0.002677, allocations: 0.5997 MB / 328.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.22e-05/0.00276, allocations: 7.938 kB / 328.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.233e-05/0.002802, allocations: 7.875 kB / 328.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.003037, allocations: 31.72 kB / 328.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.003274, allocations: 83.66 kB / 328.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.003385, allocations: 83.69 kB / 328.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.041e-05/0.003476, allocations: 8 kB / 328.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.003602, allocations: 59.81 kB / 328.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.003653, allocations: 27.91 kB / 328.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.003669, allocations: 4 kB / 328.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.72e-05/0.003706, allocations: 8 kB / 328.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.003753, allocations: 23.92 kB / 328.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.003785, allocations: 19.91 kB / 328.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.003926, allocations: 95.67 kB / 328.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.003928, allocations: 0 / 328.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003928, allocations: 0 / 328.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.003932, allocations: 0 / 328.5 MB, free: 12.72 MB / 298.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.00042/0.004352, allocations: 329.8 kB / 328.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.004385, allocations: 16.03 kB / 328.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.951e-05/0.004485, allocations: 20.83 kB / 328.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.004662, allocations: 154.1 kB / 329 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.00468, allocations: 384 / 329 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.004692, allocations: 12.38 kB / 329 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.005, allocations: 217 kB / 329.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.005009, allocations: 3.938 kB / 329.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.00502, allocations: 8 kB / 329.3 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.005024, allocations: 0 / 329.3 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.005125, allocations: 51.89 kB / 329.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002412/0.005366, allocations: 226.2 kB / 329.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.00548, allocations: 111.7 kB / 329.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.359e-05/0.005544, allocations: 54.69 kB / 329.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.005563, allocations: 4 kB / 329.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.005582, allocations: 34.5 kB / 329.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.974e-06/0.005584, allocations: 3.984 kB / 329.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002521/0.005836, allocations: 149.5 kB / 329.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.005895, allocations: 111.3 kB / 330 MB, free: 11.06 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.781e-05/0.005983, allocations: 148.9 kB / 330.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.005993, allocations: 33.7 kB / 330.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.006031, allocations: 88.14 kB / 330.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.006047, allocations: 15.83 kB / 330.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.006076, allocations: 21.72 kB / 330.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.482e-05/0.006151, allocations: 322.8 kB / 330.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.006177, allocations: 12 kB / 330.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.367e-05/0.00621, allocations: 43.41 kB / 330.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.472e-05/0.006275, allocations: 63.3 kB / 330.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.006278, allocations: 4 kB / 330.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.088e-05/0.006369, allocations: 85.56 kB / 330.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.006381, allocations: 4 kB / 330.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.006386, allocations: 4 kB / 330.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.006397, allocations: 0 / 330.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.552e-05/0.006452, allocations: 11.98 kB / 330.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.006458, allocations: 12.06 kB / 330.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.106e-05/0.006479, allocations: 0 / 330.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.006485, allocations: 4 kB / 330.8 MB, free: 10.14 MB / 298.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.224e-05/0.006547, allocations: 129.8 kB / 331 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.595e-05/0.006643, allocations: 93.56 kB / 331.1 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.006671, allocations: 20.45 kB / 331.1 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.006674, allocations: 4 kB / 331.1 MB, free: 9.883 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.006678, allocations: 0 / 331.1 MB, free: 9.883 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.006681, allocations: 0 / 331.1 MB, free: 9.883 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.702e-05/0.006778, allocations: 133.1 kB / 331.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.006779, allocations: 4 kB / 331.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.142e-05/0.006831, allocations: 19.98 kB / 331.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.006833, allocations: 4 kB / 331.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.00684, allocations: 0 / 331.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.006841, allocations: 0 / 331.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.006842, allocations: 4 kB / 331.3 MB, free: 9.691 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.007015, allocations: 233 kB / 331.5 MB, free: 9.441 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.00705, allocations: 23.89 kB / 331.5 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.007063, allocations: 0 / 331.5 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.284e-05/0.007106, allocations: 4 kB / 331.5 MB, free: 9.414 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/0.007133, allocations: 16.05 kB / 331.5 MB, free: 9.398 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-06/0.007139, allocations: 8 kB / 331.5 MB, free: 9.391 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.72e-05/0.007186, allocations: 111.2 kB / 331.6 MB, free: 9.281 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007186, allocations: 0 / 331.6 MB, free: 9.281 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001557/0.007342, allocations: 16 kB / 331.7 MB, free: 9.266 MB / 298.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.433e-05/0.007406, allocations: 95.25 kB / 331.7 MB, free: 9.164 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.007528, allocations: 55.91 kB / 331.8 MB, free: 9.109 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.007529, allocations: 4.25 kB / 331.8 MB, free: 9.105 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.957e-05/0.007549, allocations: 15.92 kB / 331.8 MB, free: 9.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.007823, allocations: 59.05 kB / 331.9 MB, free: 9.035 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.008215, allocations: 285.5 kB / 332.2 MB, free: 8.719 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.869e-05/0.008274, allocations: 92.3 kB / 332.2 MB, free: 8.609 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.008304, allocations: 16.5 kB / 332.3 MB, free: 8.594 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008304, allocations: 0 / 332.3 MB, free: 8.594 MB / 298.7 MB Notification: Performance of Templates: time 0.00172/0.01002, allocations: 1.165 MB / 333.4 MB, free: 7.434 MB / 298.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=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: 3.9193495670333505]