Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001456/0.001456, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001608/0.001608, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.524/1.524, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3323/0.3323, allocations: 32.8 MB / 293.9 MB, free: 1.207 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.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.455e-05/4.631e-05, allocations: 10.25 kB / 375.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003364/0.003411, allocations: 1.619 MB / 376.9 MB, free: 3.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.004892, allocations: 0.5298 MB / 377.4 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.014e-05/0.004952, allocations: 0 / 377.4 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.005279, allocations: 75.7 kB / 377.5 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.005642, allocations: 107.5 kB / 377.6 MB, free: 2.605 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.006029, allocations: 115.6 kB / 377.7 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.006235, allocations: 79.77 kB / 377.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.006363, allocations: 15.97 kB / 377.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.559e-05/0.006458, allocations: 35.91 kB / 377.9 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.006597, allocations: 51.88 kB / 377.9 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.006618, allocations: 0 / 377.9 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.006734, allocations: 47.92 kB / 378 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.243e-05/0.006806, allocations: 23.91 kB / 378 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.692e-05/0.006853, allocations: 19.88 kB / 378 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.007119, allocations: 107.6 kB / 378.1 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.007123, allocations: 0 / 378.1 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.007125, allocations: 0 / 378.1 MB, free: 2.117 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.00713, allocations: 0 / 378.1 MB, free: 2.117 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006315/0.007761, allocations: 329.7 kB / 378.4 MB, free: 1.766 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.007807, allocations: 12.03 kB / 378.4 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.537e-05/0.007882, allocations: 8.891 kB / 378.4 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.008112, allocations: 153.5 kB / 378.6 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.008124, allocations: 384 / 378.6 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.00816, allocations: 12.38 kB / 378.6 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.008331, allocations: 50.23 kB / 378.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.008344, allocations: 192 / 378.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.008362, allocations: 8.125 kB / 378.7 MB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.008368, allocations: 0 / 378.7 MB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.008478, allocations: 23.98 kB / 378.7 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/0.008962, allocations: 244.4 kB / 378.9 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.00909, allocations: 42.56 kB / 379 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.009e-05/0.00916, allocations: 32.86 kB / 379 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.009185, allocations: 0 / 379 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.009226, allocations: 34.56 kB / 379 MB, free: 1.074 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.009227, allocations: 0 / 379 MB, free: 1.074 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.001059/0.01029, allocations: 245.2 kB / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.01033, allocations: 55.41 kB / 379.3 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.01058, allocations: 203.3 kB / 379.5 MB, free: 0.543 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.01061, allocations: 29.7 kB / 379.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/0.01069, allocations: 108 kB / 379.7 MB, free: 408 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.01073, allocations: 19.86 kB / 379.7 MB, free: 388 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.01078, allocations: 25.7 kB / 379.7 MB, free: 356 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.01096, allocations: 322.8 kB / 380 MB, free: 24 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.01107, allocations: 32.06 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-05/0.01115, allocations: 31.97 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.01133, allocations: 77.05 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.01133, allocations: 0 / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000247/0.01158, allocations: 117.4 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.0116, allocations: 11.98 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.01161, allocations: 0 / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.01162, allocations: 0 / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.01174, allocations: 19.98 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.01175, allocations: 4 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/0.0118, allocations: 7.938 kB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.01181, allocations: 4 kB / 380.3 MB, free: 15.71 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001287/0.01194, allocations: 133.8 kB / 380.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.01198, allocations: 7.953 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003257/0.0123, allocations: 139 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.0123, allocations: 0 / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.01231, allocations: 0 / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.01231, allocations: 0 / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006065/0.01292, allocations: 366.9 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01292, allocations: 0 / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.612e-05/0.013, allocations: 16 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.013, allocations: 0 / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.01301, allocations: 3.984 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.01301, allocations: 0 / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.01302, allocations: 4 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.01335, allocations: 216.2 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.01337, allocations: 15.89 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.01339, allocations: 4 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.663e-05/0.01346, allocations: 3.984 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.01351, allocations: 15.92 kB / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.01353, allocations: 4 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001583/0.01368, allocations: 151.9 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01368, allocations: 0 / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002697/0.01395, allocations: 16 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.002271/0.01622, allocations: 497.6 kB / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002553/0.01648, allocations: 67.95 kB / 381.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.01648, allocations: 0 / 381.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.01659, allocations: 43.91 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.017, allocations: 26.33 kB / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000608/0.01761, allocations: 261.4 kB / 382.3 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.01773, allocations: 96.25 kB / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.055e-05/0.0178, allocations: 20.78 kB / 382.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.01785, allocations: 20.48 kB / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01785, allocations: 0 / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of Templates: time 0.004673/0.02252, allocations: 1.422 MB / 383.8 MB, free: 12.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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: 4.751315031084232]