Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying.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.001242/0.001242, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001936/0.003178, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001124/0.001124, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001552/0.002675, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.034/1.034, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.208/1.242, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1458/0.1458, allocations: 32.35 MB / 253.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03725/0.1831, allocations: 12.29 MB / 265.9 MB, free: 7.82 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.061e-05, allocations: 2.312 kB / 267.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.002335/0.002366, allocations: 0.5788 MB / 267.8 MB, free: 5.957 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004557/0.002821, allocations: 228.1 kB / 268 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.022e-05/0.002852, allocations: 0 / 268 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.252e-05/0.002934, allocations: 3.938 kB / 268 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.887e-05/0.002953, allocations: 15.98 kB / 268 MB, free: 5.711 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.003235, allocations: 39.83 kB / 268.1 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.725e-05/0.003312, allocations: 11.98 kB / 268.1 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.003357, allocations: 3.938 kB / 268.1 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.946e-05/0.003416, allocations: 15.98 kB / 268.1 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.003552, allocations: 27.95 kB / 268.1 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.003571, allocations: 0 / 268.1 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.003763, allocations: 63.88 kB / 268.2 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.003806, allocations: 11.94 kB / 268.2 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.00383, allocations: 4 kB / 268.2 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.004028, allocations: 63.81 kB / 268.3 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.567e-05/0.004054, allocations: 4 kB / 268.3 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.004055, allocations: 0 / 268.3 MB, free: 5.469 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.228e-05/0.004077, allocations: 0 / 268.3 MB, free: 5.469 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006001/0.004677, allocations: 260.4 kB / 268.5 MB, free: 5.188 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.004724, allocations: 8.031 kB / 268.5 MB, free: 5.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.004767, allocations: 4.938 kB / 268.5 MB, free: 5.176 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.004878, allocations: 117.7 kB / 268.6 MB, free: 5.035 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.004891, allocations: 384 / 268.6 MB, free: 5.035 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.004926, allocations: 4.375 kB / 268.6 MB, free: 5.031 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.005084, allocations: 78.78 kB / 268.7 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.005098, allocations: 192 / 268.7 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.005113, allocations: 8.359 kB / 268.7 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-05/0.005163, allocations: 12.31 kB / 268.7 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.766e-05/0.005241, allocations: 31.86 kB / 268.8 MB, free: 4.891 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.005411, allocations: 90.62 kB / 268.9 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.00564, allocations: 61.31 kB / 268.9 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/0.005693, allocations: 32.92 kB / 269 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.076e-05/0.005754, allocations: 8 kB / 269 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.005789, allocations: 34.56 kB / 269 MB, free: 4.629 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.00579, allocations: 4 kB / 269 MB, free: 4.625 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.003763/0.009554, allocations: 1.684 MB / 270.7 MB, free: 2.859 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.00961, allocations: 55.64 kB / 270.7 MB, free: 2.793 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.009709, allocations: 98.72 kB / 270.8 MB, free: 2.684 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.009749, allocations: 29.7 kB / 270.9 MB, free: 2.648 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.009798, allocations: 84.62 kB / 270.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.009954, allocations: 99.11 kB / 271 MB, free: 2.465 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.01008, allocations: 61.78 kB / 271.1 MB, free: 2.398 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.01021, allocations: 326.8 kB / 271.4 MB, free: 2.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.01038, allocations: 162.7 kB / 271.6 MB, free: 1.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.01055, allocations: 152 kB / 271.7 MB, free: 1.762 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.01094, allocations: 342.8 kB / 272.1 MB, free: 1.422 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01094, allocations: 0 / 272.1 MB, free: 1.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004803/0.01142, allocations: 378.1 kB / 272.4 MB, free: 1.047 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.01146, allocations: 7.984 kB / 272.4 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003944/0.01185, allocations: 320.4 kB / 272.8 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.01187, allocations: 4 kB / 272.8 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.01214, allocations: 79.86 kB / 272.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.01214, allocations: 4 kB / 272.8 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.503e-05/0.0122, allocations: 4 kB / 272.8 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.283e-05/0.01225, allocations: 35.98 kB / 272.9 MB, free: 0.6016 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001204/0.01237, allocations: 124.6 kB / 273 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.01242, allocations: 19.92 kB / 273 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008379/0.01326, allocations: 470.5 kB / 273.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.01327, allocations: 7.938 kB / 273.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.01327, allocations: 3.938 kB / 273.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.01328, allocations: 0 / 273.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.01434, allocations: 0.6835 MB / 274.2 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000362/0.0147, allocations: 304.9 kB / 274.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.01489, allocations: 51.92 kB / 274.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.419e-05/0.01491, allocations: 15.89 kB / 274.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.01492, allocations: 0 / 274.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.01495, allocations: 19.98 kB / 274.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.01496, allocations: 4 kB / 274.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.01496, allocations: 4 kB / 274.6 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007413/0.0157, allocations: 0.6401 MB / 275.2 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.013e-05/0.01574, allocations: 16.14 kB / 275.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.01587, allocations: 8 kB / 275.2 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.01593, allocations: 31.89 kB / 275.3 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.312e-05/0.01598, allocations: 39.98 kB / 275.3 MB, free: 14.08 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.118e-05/0.01599, allocations: 4.859 kB / 275.3 MB, free: 14.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01599, allocations: 0 / 275.3 MB, free: 14.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003899/0.01638, allocations: 75.94 kB / 275.4 MB, free: 14 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (xIntegrated) * Number of discrete variables: 2 ($cse14,i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.0002631/0.01664, allocations: 144.1 kB / 275.5 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004474/0.01709, allocations: 372.7 kB / 275.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/0.0171, allocations: 0 / 275.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.01748, allocations: 0.5473 MB / 276.4 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.01779, allocations: 31.98 kB / 276.5 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002834/0.02063, allocations: 1.201 MB / 277.7 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.7e-05/0.0207, allocations: 88.42 kB / 277.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.02089, allocations: 54 kB / 277.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/0.02125, allocations: 151.3 kB / 278 MB, free: 11.26 MB / 282.7 MB Notification: Performance of SimCode: time 1.403e-06/0.02125, allocations: 0 / 278 MB, free: 11.26 MB / 282.7 MB Notification: Performance of Templates: time 0.005402/0.02665, allocations: 3.728 MB / 281.7 MB, free: 7.523 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestInterpolateTimeVarying/TestInterpolateTimeVarying.csv","",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.076472201384604]