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.001205/0.001205, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001761/0.002966, allocations: 452 kB / 10.43 MB, free: 264 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.001125/0.001125, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001498/0.002624, allocations: 483.5 kB / 11.8 MB, free: 2.363 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 0.8054/0.8054, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.131/0.9365, allocations: 49.5 MB / 220.7 MB, free: 1.363 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.1155/0.1155, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01819/0.1337, allocations: 12.31 MB / 266.1 MB, free: 3.879 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.493e-06/1.493e-06, allocations: 0 / 267.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.585e-05, allocations: 10.19 kB / 267.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001433/0.001449, allocations: 0.5751 MB / 268 MB, free: 1.992 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003683/0.001817, allocations: 232 kB / 268.2 MB, free: 1.762 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.21e-05/0.001839, allocations: 0 / 268.2 MB, free: 1.762 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.933e-05/0.001908, allocations: 11.92 kB / 268.2 MB, free: 1.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.478e-05/0.001923, allocations: 8 kB / 268.2 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.002123, allocations: 43.81 kB / 268.2 MB, free: 1.699 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.072e-05/0.002194, allocations: 15.92 kB / 268.3 MB, free: 1.684 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.002233, allocations: 0 / 268.3 MB, free: 1.684 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.045e-05/0.002283, allocations: 15.98 kB / 268.3 MB, free: 1.668 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.002393, allocations: 31.89 kB / 268.3 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.002411, allocations: 3.938 kB / 268.3 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.00256, allocations: 55.95 kB / 268.4 MB, free: 1.578 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.153e-05/0.002591, allocations: 8 kB / 268.4 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.002613, allocations: 7.938 kB / 268.4 MB, free: 1.562 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.002739, allocations: 67.86 kB / 268.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.248e-06/0.002748, allocations: 0 / 268.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.002749, allocations: 3.938 kB / 268.5 MB, free: 1.492 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.002757, allocations: 0 / 268.5 MB, free: 1.492 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.0003028/0.00306, allocations: 264.4 kB / 268.7 MB, free: 1.207 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.704e-05/0.003087, allocations: 12.03 kB / 268.7 MB, free: 1.195 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.003114, allocations: 4.938 kB / 268.7 MB, free: 1.191 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.361e-05/0.003188, allocations: 109.7 kB / 268.8 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.003197, allocations: 384 / 268.8 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.003218, allocations: 4.375 kB / 268.8 MB, free: 1.055 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.954e-05/0.003318, allocations: 86.77 kB / 268.9 MB, free: 0.957 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.003325, allocations: 192 / 268.9 MB, free: 0.957 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.003333, allocations: 384 / 268.9 MB, free: 0.957 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.779e-05/0.00336, allocations: 16.34 kB / 268.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.692e-05/0.003397, allocations: 31.86 kB / 269 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.016e-05/0.003488, allocations: 82.64 kB / 269.1 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.003623, allocations: 69.3 kB / 269.1 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.069e-05/0.003653, allocations: 28.94 kB / 269.1 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.003687, allocations: 11.98 kB / 269.2 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.003706, allocations: 30.56 kB / 269.2 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.003707, allocations: 4 kB / 269.2 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.002013/0.00572, allocations: 1.692 MB / 270.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.005742, allocations: 55.64 kB / 270.9 MB, free: 14.81 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.912e-05/0.005781, allocations: 94.72 kB / 271 MB, free: 14.7 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.0058, allocations: 33.7 kB / 271.1 MB, free: 14.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.683e-05/0.005817, allocations: 80.64 kB / 271.1 MB, free: 14.58 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/0.005878, allocations: 103.1 kB / 271.2 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.005937, allocations: 61.78 kB / 271.3 MB, free: 14.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.785e-05/0.006005, allocations: 326.8 kB / 271.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.726e-05/0.006102, allocations: 146.8 kB / 271.8 MB, free: 13.94 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.932e-05/0.006202, allocations: 160 kB / 271.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.006424, allocations: 342.8 kB / 272.3 MB, free: 13.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.006425, allocations: 0 / 272.3 MB, free: 13.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002594/0.006684, allocations: 374.1 kB / 272.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.006695, allocations: 4 kB / 272.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002122/0.006907, allocations: 328.7 kB / 272.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.006918, allocations: 0 / 272.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.00707, allocations: 79.86 kB / 273 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.007073, allocations: 8 kB / 273 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.145e-05/0.007105, allocations: 4 kB / 273 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.007131, allocations: 27.98 kB / 273.1 MB, free: 12.63 MB / 282.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 6.637e-05/0.007198, allocations: 124.6 kB / 273.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.007225, allocations: 23.92 kB / 273.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004653/0.007691, allocations: 474.4 kB / 273.7 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.007695, allocations: 8 kB / 273.7 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.007696, allocations: 0 / 273.7 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.007702, allocations: 3.984 kB / 273.7 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005595/0.008261, allocations: 0.6797 MB / 274.4 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002079/0.008469, allocations: 300.9 kB / 274.7 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.008576, allocations: 51.92 kB / 274.7 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.423e-05/0.00859, allocations: 19.84 kB / 274.7 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.008594, allocations: 4 kB / 274.7 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.008612, allocations: 15.98 kB / 274.7 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.008616, allocations: 11.94 kB / 274.8 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.008618, allocations: 0 / 274.8 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/0.00904, allocations: 0.6404 MB / 275.4 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.009061, allocations: 16.16 kB / 275.4 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.082e-05/0.009122, allocations: 8 kB / 275.4 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.009164, allocations: 39.88 kB / 275.5 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.009192, allocations: 32 kB / 275.5 MB, free: 10.1 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.418e-06/0.009201, allocations: 8.844 kB / 275.5 MB, free: 10.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009201, allocations: 0 / 275.5 MB, free: 10.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000194/0.009395, allocations: 75.94 kB / 275.6 MB, free: 10.01 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.0001548/0.00955, allocations: 148.1 kB / 275.7 MB, free: 9.859 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.00982, allocations: 365.1 kB / 276.1 MB, free: 9.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.009826, allocations: 0 / 276.1 MB, free: 9.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002775/0.0101, allocations: 0.5824 MB / 276.7 MB, free: 8.828 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.01026, allocations: 39.97 kB / 276.7 MB, free: 8.789 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.01191, allocations: 1.212 MB / 277.9 MB, free: 7.531 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.604e-05/0.01196, allocations: 88.98 kB / 278 MB, free: 7.422 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.501e-05/0.01205, allocations: 49.64 kB / 278 MB, free: 7.371 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.01227, allocations: 147.3 kB / 278.2 MB, free: 7.227 MB / 282.7 MB Notification: Performance of SimCode: time 1.021e-06/0.01227, allocations: 3.938 kB / 278.2 MB, free: 7.223 MB / 282.7 MB Notification: Performance of Templates: time 0.004348/0.01662, allocations: 3.74 MB / 281.9 MB, free: 3.48 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5738021628931165]