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.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.000958/0.000958, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.000911/0.000911, allocations: 169.1 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9735/0.9735, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.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.2363/0.2363, allocations: 32.8 MB / 294.6 MB, free: 1.254 MB / 266.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_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.403e-06/1.403e-06, allocations: 0 / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.821e-05, allocations: 4.703 kB / 323.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001316/0.001334, allocations: 0.5723 MB / 323.8 MB, free: 9.105 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004334/0.001768, allocations: 215.3 kB / 324 MB, free: 8.895 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.001792, allocations: 0 / 324 MB, free: 8.895 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.001919, allocations: 0 / 324 MB, free: 8.895 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.344e-05/0.001943, allocations: 7.938 kB / 324 MB, free: 8.887 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.002206, allocations: 39.88 kB / 324.1 MB, free: 8.848 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.17e-05/0.002268, allocations: 19.92 kB / 324.1 MB, free: 8.828 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.378e-05/0.002301, allocations: 0 / 324.1 MB, free: 8.828 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.49e-05/0.002336, allocations: 19.97 kB / 324.1 MB, free: 8.809 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.441e-05/0.002431, allocations: 19.97 kB / 324.1 MB, free: 8.789 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.002447, allocations: 4 kB / 324.1 MB, free: 8.785 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.002572, allocations: 67.81 kB / 324.2 MB, free: 8.719 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/0.002599, allocations: 8 kB / 324.2 MB, free: 8.711 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.00262, allocations: 15.91 kB / 324.2 MB, free: 8.695 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.002756, allocations: 83.75 kB / 324.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.002758, allocations: 0 / 324.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.002759, allocations: 0 / 324.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.002762, allocations: 0 / 324.3 MB, free: 8.613 MB / 298.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.0003073/0.00307, allocations: 254.7 kB / 324.6 MB, free: 8.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.003101, allocations: 8.031 kB / 324.6 MB, free: 8.332 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.00313, allocations: 8.938 kB / 324.6 MB, free: 8.324 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.308e-05/0.003213, allocations: 109.7 kB / 324.7 MB, free: 8.191 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.003222, allocations: 384 / 324.7 MB, free: 8.191 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.003241, allocations: 4.312 kB / 324.7 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.003353, allocations: 86.77 kB / 324.8 MB, free: 8.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.003364, allocations: 192 / 324.8 MB, free: 8.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.003374, allocations: 8.297 kB / 324.8 MB, free: 8.082 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-05/0.003406, allocations: 12.36 kB / 324.8 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.409e-05/0.00345, allocations: 34.59 kB / 324.8 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.003575, allocations: 82.59 kB / 324.9 MB, free: 7.941 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.003733, allocations: 69.36 kB / 325 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.003766, allocations: 24.8 kB / 325 MB, free: 7.836 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.925e-05/0.003805, allocations: 11.98 kB / 325 MB, free: 7.824 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.003832, allocations: 34.56 kB / 325 MB, free: 7.781 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.003834, allocations: 0 / 325 MB, free: 7.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.003178/0.007012, allocations: 2.165 MB / 327.2 MB, free: 5.555 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.007041, allocations: 59.64 kB / 327.3 MB, free: 5.484 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.161e-05/0.007093, allocations: 98.7 kB / 327.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.007114, allocations: 29.7 kB / 327.4 MB, free: 5.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.424e-05/0.007138, allocations: 84.64 kB / 327.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.612e-05/0.007204, allocations: 95.11 kB / 327.6 MB, free: 5.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.47e-05/0.007269, allocations: 65.64 kB / 327.6 MB, free: 5.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.388e-05/0.007343, allocations: 322.8 kB / 327.9 MB, free: 4.766 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.007451, allocations: 150.8 kB / 328.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.007558, allocations: 152 kB / 328.2 MB, free: 4.469 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.007808, allocations: 339.4 kB / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.007809, allocations: 8.062 kB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000298/0.008107, allocations: 373.6 kB / 328.9 MB, free: 3.754 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.008123, allocations: 11.98 kB / 329 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002337/0.008356, allocations: 316.4 kB / 329.3 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.008366, allocations: 0 / 329.3 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.008513, allocations: 71.88 kB / 329.3 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.008517, allocations: 4 kB / 329.3 MB, free: 3.359 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.847e-05/0.008556, allocations: 8 kB / 329.4 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.008585, allocations: 27.98 kB / 329.4 MB, free: 3.324 MB / 298.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.789e-05/0.008663, allocations: 136.5 kB / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.00869, allocations: 27.92 kB / 329.5 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004892/0.00918, allocations: 467.2 kB / 330 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.009187, allocations: 19.97 kB / 330 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.009188, allocations: 0 / 330 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.009193, allocations: 0 / 330 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006287/0.009821, allocations: 0.6796 MB / 330.7 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002217/0.01004, allocations: 298.1 kB / 331 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.01015, allocations: 47.98 kB / 331 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.01016, allocations: 4 kB / 331 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.01018, allocations: 16.17 kB / 331.1 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.01018, allocations: 11.94 kB / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01018, allocations: 0 / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004706/0.01065, allocations: 0.6401 MB / 331.7 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.201e-05/0.01067, allocations: 7.953 kB / 331.7 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.01069, allocations: 11.98 kB / 331.7 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.357e-05/0.01075, allocations: 12 kB / 331.7 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.01079, allocations: 35.89 kB / 331.8 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.01083, allocations: 31.98 kB / 331.8 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.305e-06/0.01084, allocations: 8.891 kB / 331.8 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01084, allocations: 0 / 331.8 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000215/0.01105, allocations: 83.88 kB / 331.9 MB, free: 0.6953 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.0001536/0.0112, allocations: 144.2 kB / 332 MB, free: 0.543 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002981/0.0115, allocations: 362.8 kB / 332.4 MB, free: 192 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.0115, allocations: 0 / 332.4 MB, free: 192 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002625/0.01177, allocations: 0.5365 MB / 332.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.01191, allocations: 34.92 kB / 333 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.01367, allocations: 1.182 MB / 334.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.056e-05/0.01373, allocations: 84.48 kB / 334.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.01383, allocations: 45.64 kB / 334.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.01405, allocations: 155.3 kB / 334.4 MB, free: 14 MB / 314.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01405, allocations: 0 / 334.4 MB, free: 14 MB / 314.7 MB Notification: Performance of Templates: time 0.004637/0.01869, allocations: 3.648 MB / 338.1 MB, free: 10.42 MB / 314.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.979583222884685]