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.001805/0.001805, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 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.002384/0.002384, allocations: 185 kB / 24.46 MB, free: 3.863 MB / 14.72 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 1.506/1.506, allocations: 225.7 MB / 253.3 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001618/0.001618, allocations: 51.92 kB / 371.6 MB, free: 9.246 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3365, allocations: 52.18 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003645/0.3401, allocations: 1.627 MB / 425.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.3413, allocations: 0.522 MB / 426 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.3414, allocations: 7.938 kB / 426 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.289e-05/0.3415, allocations: 7.938 kB / 426 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.3418, allocations: 27.78 kB / 426 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.342, allocations: 71.8 kB / 426.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.3422, allocations: 75.81 kB / 426.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.3423, allocations: 8.234 kB / 426.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.3424, allocations: 39.84 kB / 426.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.971e-05/0.3425, allocations: 35.78 kB / 426.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.3426, allocations: 4 kB / 426.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.761e-05/0.3426, allocations: 7.938 kB / 426.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.196e-05/0.3426, allocations: 23.92 kB / 426.3 MB, free: 12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.279e-05/0.3427, allocations: 27.86 kB / 426.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.3429, allocations: 89.25 kB / 426.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.3429, allocations: 0 / 426.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3429, allocations: 0 / 426.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.3429, allocations: 0 / 426.4 MB, free: 11.89 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.0006961/0.3436, allocations: 333.8 kB / 426.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.3436, allocations: 12.03 kB / 426.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.3436, allocations: 8.891 kB / 426.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.3439, allocations: 146.4 kB / 426.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.344, allocations: 12.31 kB / 426.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.344, allocations: 4.375 kB / 426.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.3445, allocations: 226 kB / 427.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3445, allocations: 4 kB / 427.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.3445, allocations: 0 / 427.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.3446, allocations: 7.984 kB / 427.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.3447, allocations: 55.89 kB / 427.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.3451, allocations: 222.3 kB / 427.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.3453, allocations: 99.83 kB / 427.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.3454, allocations: 50.56 kB / 427.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.3455, allocations: 3.984 kB / 427.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.3455, allocations: 46.5 kB / 427.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.3455, allocations: 0 / 427.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004466/0.346, allocations: 141.5 kB / 427.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.479e-05/0.3461, allocations: 110.8 kB / 427.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.3462, allocations: 152.3 kB / 428 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.3462, allocations: 25.7 kB / 428 MB, free: 10.06 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.017e-05/0.3463, allocations: 88.14 kB / 428.1 MB, free: 9.969 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.3463, allocations: 11.94 kB / 428.1 MB, free: 9.957 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.304e-05/0.3464, allocations: 37.66 kB / 428.1 MB, free: 9.914 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3466, allocations: 315 kB / 428.5 MB, free: 9.598 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.104e-05/0.3466, allocations: 23.98 kB / 428.5 MB, free: 9.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.3467, allocations: 89.42 kB / 428.6 MB, free: 9.453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.3469, allocations: 117.8 kB / 428.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3469, allocations: 0 / 428.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002333/0.3472, allocations: 137.5 kB / 428.8 MB, free: 9.164 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3472, allocations: 12.03 kB / 428.8 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3472, allocations: 0 / 428.8 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.3472, allocations: 4 kB / 428.8 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.3473, allocations: 35.92 kB / 428.9 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3473, allocations: 4 kB / 428.9 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.74e-05/0.3474, allocations: 7.938 kB / 428.9 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.3474, allocations: 4 kB / 428.9 MB, free: 9.098 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.0001301/0.3476, allocations: 140.8 kB / 429 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.3478, allocations: 101.5 kB / 429.1 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.954e-05/0.3478, allocations: 16.39 kB / 429.1 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3478, allocations: 4 kB / 429.1 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.3478, allocations: 4 kB / 429.1 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3478, allocations: 0 / 429.1 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.348, allocations: 121.3 kB / 429.3 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.348, allocations: 3.938 kB / 429.3 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.3481, allocations: 19.98 kB / 429.3 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3481, allocations: 0 / 429.3 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.3481, allocations: 8 kB / 429.3 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3481, allocations: 0 / 429.3 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3481, allocations: 0 / 429.3 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.3485, allocations: 229 kB / 429.5 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.3485, allocations: 31.77 kB / 429.5 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.3486, allocations: 8 kB / 429.6 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.329e-05/0.3487, allocations: 4 kB / 429.6 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.3487, allocations: 3.984 kB / 429.6 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.3487, allocations: 7.938 kB / 429.6 MB, free: 8.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.885e-05/0.3488, allocations: 111.2 kB / 429.7 MB, free: 8.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3488, allocations: 0 / 429.7 MB, free: 8.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.3491, allocations: 12 kB / 429.7 MB, free: 8.219 MB / 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.0001383/0.3492, allocations: 111.2 kB / 429.8 MB, free: 8.102 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002408/0.3494, allocations: 75.83 kB / 429.9 MB, free: 8.027 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3494, allocations: 0 / 429.9 MB, free: 8.027 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.104e-05/0.3495, allocations: 11.94 kB / 429.9 MB, free: 8.016 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.3499, allocations: 70.16 kB / 430 MB, free: 7.949 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007212/0.3507, allocations: 287.9 kB / 430.2 MB, free: 7.629 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.3508, allocations: 96.05 kB / 430.3 MB, free: 7.516 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.3508, allocations: 11.44 kB / 430.3 MB, free: 7.504 MB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3508, allocations: 4 kB / 430.3 MB, free: 7.5 MB / 334.1 MB Notification: Performance of Templates: time 0.003155/0.354, allocations: 1.206 MB / 431.5 MB, free: 6.301 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins1/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: 7.2458506459370255]