Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.001832/0.001832, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.002167/0.002167, allocations: 161.7 kB / 24.27 MB, free: 168 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.573/1.573, allocations: 177.1 MB / 204.6 MB, free: 5.582 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.4131/0.4131, allocations: 32.79 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.646e-05, allocations: 5.125 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.00303/0.003057, allocations: 1.654 MB / 376.9 MB, free: 3.301 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009994/0.004056, allocations: 0.7831 MB / 377.7 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.004092, allocations: 0 / 377.7 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.004332, allocations: 31.78 kB / 377.7 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.004544, allocations: 47.77 kB / 377.8 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.429e-06/0.004548, allocations: 0 / 377.8 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.004694, allocations: 35.89 kB / 377.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.95e-05/0.004723, allocations: 4 kB / 377.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.844e-05/0.004762, allocations: 19.86 kB / 377.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.004828, allocations: 19.91 kB / 377.9 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.00484, allocations: 0 / 377.9 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.728e-05/0.004887, allocations: 12 kB / 377.9 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.338e-05/0.004931, allocations: 11.94 kB / 377.9 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.005e-05/0.004961, allocations: 15.98 kB / 377.9 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.005099, allocations: 63.73 kB / 378 MB, free: 2.258 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.005104, allocations: 4 kB / 378 MB, free: 2.254 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005105, allocations: 0 / 378 MB, free: 2.254 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.005108, allocations: 0 / 378 MB, free: 2.254 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003863/0.005494, allocations: 286 kB / 378.2 MB, free: 1.941 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.005528, allocations: 8.031 kB / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.005576, allocations: 16.88 kB / 378.3 MB, free: 1.918 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.005715, allocations: 117.7 kB / 378.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.005728, allocations: 4.375 kB / 378.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.005736, allocations: 384 / 378.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.005933, allocations: 131.3 kB / 378.5 MB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.005941, allocations: 192 / 378.5 MB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.005952, allocations: 4.359 kB / 378.5 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.426e-05/0.005996, allocations: 24.36 kB / 378.5 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.353e-05/0.00608, allocations: 47.8 kB / 378.6 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000727/0.006807, allocations: 0.824 MB / 379.4 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.006925, allocations: 173.2 kB / 379.6 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.994e-05/0.006975, allocations: 84.14 kB / 379.7 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.353e-05/0.007018, allocations: 75.28 kB / 379.7 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.864e-05/0.007087, allocations: 109.8 kB / 379.8 MB, free: 220 kB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.007088, allocations: 4 kB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 9.591e-05/0.007184, allocations: 41.53 kB / 379.9 MB, free: 168 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.007262, allocations: 126.7 kB / 380 MB, free: 28 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.007492, allocations: 199.4 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.007508, allocations: 25.7 kB / 380.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.007626, allocations: 151.5 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.007629, allocations: 0 / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.368e-05/0.007693, allocations: 41.7 kB / 380.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.007871, allocations: 326.8 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.52e-05/0.007927, allocations: 31.94 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.008092, allocations: 149.2 kB / 380.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.00835, allocations: 208.8 kB / 381.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.008353, allocations: 0 / 381.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003723/0.008725, allocations: 217.1 kB / 381.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.008741, allocations: 4 kB / 381.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.008751, allocations: 4 kB / 381.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.001e-05/0.008781, allocations: 12.56 kB / 381.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.008917, allocations: 35.92 kB / 381.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/0.008933, allocations: 15.94 kB / 381.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.431e-05/0.009028, allocations: 23.84 kB / 381.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.009057, allocations: 11.98 kB / 381.4 MB, free: 14.44 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001635/0.009221, allocations: 209 kB / 381.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.965e-05/0.00931, allocations: 121 kB / 381.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.45e-05/0.009385, allocations: 112.8 kB / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.773e-05/0.009483, allocations: 184.1 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-05/0.009582, allocations: 180.3 kB / 382.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.69e-05/0.009679, allocations: 184.2 kB / 382.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.009963, allocations: 372.9 kB / 382.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.668e-05/0.01003, allocations: 101 kB / 382.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.056e-05/0.01009, allocations: 112.9 kB / 383 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.59e-05/0.01019, allocations: 180.3 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.01029, allocations: 184.2 kB / 383.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.315e-05/0.01039, allocations: 180.3 kB / 383.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.763e-05/0.01048, allocations: 180.2 kB / 383.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.0107, allocations: 315.7 kB / 384 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.961e-05/0.01078, allocations: 112.9 kB / 384.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.01089, allocations: 176.3 kB / 384.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.01101, allocations: 109 kB / 384.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.01112, allocations: 192.1 kB / 384.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.673e-05/0.01118, allocations: 101 kB / 384.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001353/0.01131, allocations: 135.4 kB / 384.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01131, allocations: 0 / 384.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003027/0.01162, allocations: 12 kB / 384.8 MB, free: 10.88 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0008906/0.01251, allocations: 284.5 kB / 385.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.01266, allocations: 72.66 kB / 385.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01266, allocations: 3.938 kB / 385.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.877e-06/0.01267, allocations: 4 kB / 385.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.01314, allocations: 463.7 kB / 385.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.01353, allocations: 254.1 kB / 385.9 MB, free: 9.832 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.681e-05/0.01363, allocations: 79.83 kB / 386 MB, free: 9.734 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001907/0.01382, allocations: 57.44 kB / 386 MB, free: 9.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.01386, allocations: 12.5 kB / 386 MB, free: 9.664 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01386, allocations: 0 / 386 MB, free: 9.664 MB / 362.7 MB Notification: Performance of Templates: time 0.003345/0.0172, allocations: 0.7312 MB / 386.8 MB, free: 8.941 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.939026869949885]