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.000741/0.000741, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.00272/0.00272, allocations: 143.6 kB / 24.68 MB, free: 8.906 MB / 18.57 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.8262/0.8262, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.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.734e-06/1.734e-06, allocations: 3.938 kB / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.711e-05, allocations: 10.22 kB / 319.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002082/0.002109, allocations: 1.586 MB / 321.3 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007158/0.002825, allocations: 0.5453 MB / 321.8 MB, free: 3.688 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.323e-05/0.002908, allocations: 7.938 kB / 321.8 MB, free: 3.68 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.437e-05/0.002952, allocations: 3.938 kB / 321.9 MB, free: 3.676 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.003188, allocations: 31.77 kB / 321.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.003357, allocations: 82.36 kB / 322 MB, free: 3.566 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.003469, allocations: 79.7 kB / 322 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.775e-05/0.003567, allocations: 16.2 kB / 322.1 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.962e-05/0.003646, allocations: 43.89 kB / 322.1 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.224e-05/0.003699, allocations: 27.89 kB / 322.1 MB, free: 3.398 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.003725, allocations: 12 kB / 322.1 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.003737, allocations: 4 kB / 322.1 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.911e-05/0.003786, allocations: 23.91 kB / 322.2 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.003819, allocations: 15.94 kB / 322.2 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.004072, allocations: 87.73 kB / 322.3 MB, free: 3.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004074, allocations: 0 / 322.3 MB, free: 3.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.004075, allocations: 0 / 322.3 MB, free: 3.258 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.004079, allocations: 0 / 322.3 MB, free: 3.258 MB / 282.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.0004895/0.004569, allocations: 329.8 kB / 322.6 MB, free: 2.906 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.004605, allocations: 12.03 kB / 322.6 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.004645, allocations: 12.89 kB / 322.6 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.004861, allocations: 153.5 kB / 322.8 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.004883, allocations: 4.375 kB / 322.8 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.004898, allocations: 8.375 kB / 322.8 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.005249, allocations: 229.5 kB / 323 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.005259, allocations: 4.125 kB / 323 MB, free: 2.449 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.00527, allocations: 4.375 kB / 323 MB, free: 2.445 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.005275, allocations: 3.938 kB / 323 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.727e-05/0.005373, allocations: 47.95 kB / 323.1 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002499/0.005623, allocations: 218.3 kB / 323.3 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.005743, allocations: 95.77 kB / 323.4 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.663e-05/0.005809, allocations: 58.73 kB / 323.4 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.005832, allocations: 4 kB / 323.4 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.005853, allocations: 38.5 kB / 323.5 MB, free: 1.906 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.005854, allocations: 0 / 323.5 MB, free: 1.906 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002633/0.006118, allocations: 149.5 kB / 323.6 MB, free: 1.754 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.006179, allocations: 114.8 kB / 323.7 MB, free: 1.617 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.818e-05/0.006267, allocations: 141.8 kB / 323.9 MB, free: 1.469 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.006278, allocations: 25.7 kB / 323.9 MB, free: 1.438 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.693e-05/0.006315, allocations: 92.27 kB / 324 MB, free: 1.344 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.006332, allocations: 11.94 kB / 324 MB, free: 1.332 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.006362, allocations: 21.67 kB / 324 MB, free: 1.305 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.113e-05/0.006433, allocations: 318.8 kB / 324.3 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.885e-05/0.006462, allocations: 15.98 kB / 324.3 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.475e-05/0.006497, allocations: 43.36 kB / 324.4 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.679e-05/0.006564, allocations: 59.36 kB / 324.4 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.006566, allocations: 3.938 kB / 324.4 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.467e-05/0.00666, allocations: 86.05 kB / 324.5 MB, free: 0.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.006672, allocations: 7.938 kB / 324.5 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.006677, allocations: 0 / 324.5 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.00669, allocations: 4 kB / 324.5 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.002e-05/0.00675, allocations: 11.98 kB / 324.5 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.006755, allocations: 0 / 324.5 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.684e-05/0.006782, allocations: 24.02 kB / 324.6 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.006788, allocations: 4 kB / 324.6 MB, free: 0.6992 MB / 282.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.554e-05/0.006853, allocations: 125.8 kB / 324.7 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.966e-05/0.006953, allocations: 101.5 kB / 324.8 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.006985, allocations: 16.47 kB / 324.8 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.006987, allocations: 0 / 324.8 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.006992, allocations: 4 kB / 324.8 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.006997, allocations: 3.984 kB / 324.8 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.431e-05/0.007091, allocations: 113.3 kB / 324.9 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.007092, allocations: 0 / 324.9 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.397e-05/0.007146, allocations: 27.92 kB / 325 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.007148, allocations: 4 kB / 325 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.007158, allocations: 11.92 kB / 325 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.00716, allocations: 0 / 325 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.00716, allocations: 0 / 325 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.007319, allocations: 221.1 kB / 325.2 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.007367, allocations: 24.11 kB / 325.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.007383, allocations: 11.75 kB / 325.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.242e-05/0.007425, allocations: 4 kB / 325.2 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.007451, allocations: 0 / 325.2 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.007458, allocations: 7.984 kB / 325.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.938e-05/0.007507, allocations: 118.5 kB / 325.4 MB, free: 15.85 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007507, allocations: 0 / 325.4 MB, free: 15.85 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001479/0.007655, allocations: 12 kB / 325.4 MB, free: 15.84 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 7.221e-05/0.007727, allocations: 107.4 kB / 325.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.007853, allocations: 55.91 kB / 325.5 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.007854, allocations: 0 / 325.5 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.874e-05/0.007873, allocations: 8.25 kB / 325.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006409/0.008514, allocations: 72.38 kB / 325.6 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004182/0.008932, allocations: 276.6 kB / 325.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.348e-05/0.008996, allocations: 88.31 kB / 326 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.009026, allocations: 16.48 kB / 326 MB, free: 15.16 MB / 298.7 MB Notification: Performance of SimCode: time 5.1e-07/0.009026, allocations: 3.938 kB / 326 MB, free: 15.16 MB / 298.7 MB Notification: Performance of Templates: time 0.001822/0.01085, allocations: 1.137 MB / 327.1 MB, free: 14.03 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.8073922153562307]