Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying.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.0006767/0.0006767, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.001775, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006287/0.0006287, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009434/0.001572, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.9667/0.9667, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1503/1.117, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1369/0.1369, allocations: 32.8 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01957/0.1565, allocations: 12.53 MB / 284.5 MB, free: 9.715 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 285.8 MB, free: 8.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.859e-05, allocations: 5.266 kB / 285.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001085/0.001104, allocations: 0.583 MB / 286.4 MB, free: 7.848 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002581/0.001362, allocations: 230.1 kB / 286.6 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.799e-05/0.00138, allocations: 0 / 286.6 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.678e-05/0.001436, allocations: 0 / 286.6 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.155e-05/0.001448, allocations: 7.938 kB / 286.6 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.001614, allocations: 43.81 kB / 286.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.135e-05/0.001675, allocations: 19.92 kB / 286.7 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.464e-05/0.00171, allocations: 7.984 kB / 286.7 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.658e-05/0.001756, allocations: 15.98 kB / 286.7 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.531e-05/0.001852, allocations: 23.97 kB / 286.8 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.001866, allocations: 0 / 286.8 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.001984, allocations: 55.94 kB / 286.8 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.232e-05/0.002017, allocations: 15.94 kB / 286.8 MB, free: 7.438 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.944e-05/0.002036, allocations: 7.938 kB / 286.8 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.002148, allocations: 67.8 kB / 286.9 MB, free: 7.363 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.002158, allocations: 0 / 286.9 MB, free: 7.363 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.002158, allocations: 0 / 286.9 MB, free: 7.363 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.002168, allocations: 0 / 286.9 MB, free: 7.363 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0003342/0.002502, allocations: 260.4 kB / 287.2 MB, free: 7.082 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.002532, allocations: 12.03 kB / 287.2 MB, free: 7.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.002562, allocations: 4.875 kB / 287.2 MB, free: 7.066 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.562e-05/0.002638, allocations: 105.8 kB / 287.3 MB, free: 6.938 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.002649, allocations: 4.375 kB / 287.3 MB, free: 6.934 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.002672, allocations: 8.359 kB / 287.3 MB, free: 6.926 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.002801, allocations: 82.7 kB / 287.4 MB, free: 6.832 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.00281, allocations: 4.172 kB / 287.4 MB, free: 6.828 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.002819, allocations: 4.375 kB / 287.4 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.827e-05/0.002847, allocations: 12.36 kB / 287.4 MB, free: 6.812 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.71e-05/0.002884, allocations: 31.92 kB / 287.4 MB, free: 6.781 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001003/0.002985, allocations: 82.62 kB / 287.5 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.003117, allocations: 61.38 kB / 287.6 MB, free: 6.613 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.82e-05/0.003145, allocations: 24.86 kB / 287.6 MB, free: 6.586 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.003184, allocations: 11.98 kB / 287.6 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.003205, allocations: 34.5 kB / 287.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.062e-06/0.003206, allocations: 4 kB / 287.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.001969/0.005175, allocations: 1.698 MB / 289.3 MB, free: 4.754 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.005194, allocations: 59.58 kB / 289.4 MB, free: 4.684 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.597e-05/0.00523, allocations: 98.7 kB / 289.5 MB, free: 4.574 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.005252, allocations: 33.7 kB / 289.5 MB, free: 4.535 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.912e-05/0.005271, allocations: 84.62 kB / 289.6 MB, free: 4.449 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/0.005328, allocations: 99.11 kB / 289.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.094e-05/0.005389, allocations: 57.66 kB / 289.8 MB, free: 4.289 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.797e-05/0.005467, allocations: 322.8 kB / 290.1 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.005574, allocations: 150.8 kB / 290.2 MB, free: 3.816 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.005682, allocations: 148 kB / 290.4 MB, free: 3.672 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.005914, allocations: 351.5 kB / 290.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.005915, allocations: 4 kB / 290.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002682/0.006183, allocations: 369.5 kB / 291.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.006192, allocations: 4 kB / 291.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002435/0.006436, allocations: 324.7 kB / 291.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/0.006442, allocations: 0 / 291.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.006602, allocations: 83.86 kB / 291.5 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.006604, allocations: 4 kB / 291.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.038e-05/0.006645, allocations: 4 kB / 291.5 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.006674, allocations: 31.98 kB / 291.5 MB, free: 2.508 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 7.644e-05/0.006751, allocations: 132.6 kB / 291.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.006778, allocations: 23.92 kB / 291.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004908/0.007269, allocations: 466.5 kB / 292.1 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.007274, allocations: 8 kB / 292.1 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.007275, allocations: 0 / 292.1 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.007281, allocations: 3.984 kB / 292.1 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005977/0.007879, allocations: 0.6757 MB / 292.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002151/0.008094, allocations: 293.2 kB / 293.1 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.0082, allocations: 55.92 kB / 293.1 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.008211, allocations: 16.08 kB / 293.2 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.008214, allocations: 8 kB / 293.2 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.008233, allocations: 15.98 kB / 293.2 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.008237, allocations: 8 kB / 293.2 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.008239, allocations: 3.938 kB / 293.2 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004914/0.00873, allocations: 0.633 MB / 293.8 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.008753, allocations: 15.98 kB / 293.8 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-05/0.008818, allocations: 8 kB / 293.9 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.008857, allocations: 43.77 kB / 293.9 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/0.0089, allocations: 35.98 kB / 293.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.113e-06/0.008907, allocations: 8.891 kB / 293.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008907, allocations: 0 / 293.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002082/0.009115, allocations: 79.88 kB / 294 MB, free: 15.89 MB / 298.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.0001578/0.009273, allocations: 144.2 kB / 294.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003104/0.009583, allocations: 372.6 kB / 294.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.009591, allocations: 0 / 294.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004574/0.01005, allocations: 0.5904 MB / 295.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.0102, allocations: 35.98 kB / 295.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.0119, allocations: 1.203 MB / 296.4 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.32e-05/0.01194, allocations: 84.48 kB / 296.4 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.332e-05/0.01203, allocations: 45.73 kB / 296.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.01225, allocations: 147.3 kB / 296.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01225, allocations: 4 kB / 296.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of Templates: time 0.004347/0.0166, allocations: 3.748 MB / 300.4 MB, free: 9.422 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.7690538009628654]