Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.001015/0.001015, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001005/0.001005, allocations: 167.1 kB / 24.82 MB, free: 9.273 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 1.078/1.078, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2722/0.2722, allocations: 32.8 MB / 294.6 MB, free: 1.25 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.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 376.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.662e-05, allocations: 6.25 kB / 376.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.00284/0.002866, allocations: 2.085 MB / 378.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.004863, allocations: 1.367 MB / 379.9 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.005023, allocations: 3.938 kB / 379.9 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.005314, allocations: 55.45 kB / 380 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005022/0.005816, allocations: 230.9 kB / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.006867, allocations: 0.6003 MB / 380.8 MB, free: 48 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005419/0.007409, allocations: 370.7 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.007631, allocations: 48.89 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003863/0.008018, allocations: 191.4 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.008286, allocations: 183.6 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.008324, allocations: 19.94 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.008473, allocations: 67.91 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.008617, allocations: 151.5 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.155e-05/0.008699, allocations: 91.56 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004134/0.009112, allocations: 342.5 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.009116, allocations: 0 / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.009118, allocations: 4 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.009125, allocations: 0 / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008274/0.009953, allocations: 0.8443 MB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.009998, allocations: 12.03 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002745/0.01027, allocations: 100.5 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.01062, allocations: 353.4 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.01063, allocations: 12.31 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.01066, allocations: 12.38 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.01086, allocations: 137.1 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.01087, allocations: 7.938 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.01089, allocations: 4 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.01089, allocations: 0 / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.604e-05/0.01096, allocations: 27.97 kB / 383.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006797/0.01164, allocations: 0.5963 MB / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.01179, allocations: 94.08 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.779e-05/0.01183, allocations: 31.62 kB / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.01186, allocations: 7.984 kB / 384.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.01189, allocations: 49.31 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/0.01189, allocations: 0 / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007704/0.01267, allocations: 328.7 kB / 384.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.01271, allocations: 77.33 kB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004616/0.01317, allocations: 0.6594 MB / 385.6 MB, free: 11.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.01319, allocations: 33.64 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.01336, allocations: 343.1 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.249e-05/0.01341, allocations: 75.36 kB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/0.01347, allocations: 47.34 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.01364, allocations: 0.5624 MB / 386.6 MB, free: 9.992 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.844e-05/0.01369, allocations: 19.98 kB / 386.7 MB, free: 9.973 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.07e-05/0.01375, allocations: 50.08 kB / 386.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.01386, allocations: 91.39 kB / 386.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.01386, allocations: 0 / 386.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002029/0.01406, allocations: 177.2 kB / 387 MB, free: 9.641 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.01408, allocations: 7.938 kB / 387 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.01408, allocations: 0 / 387 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.01409, allocations: 8 kB / 387 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.01423, allocations: 47.95 kB / 387 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.01424, allocations: 7.938 kB / 387 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.313e-05/0.01431, allocations: 15.94 kB / 387.1 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.01432, allocations: 8 kB / 387.1 MB, free: 9.547 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 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.0001044/0.01443, allocations: 156.6 kB / 387.2 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-05/0.0145, allocations: 67.62 kB / 387.3 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.0148, allocations: 223 kB / 387.5 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.0148, allocations: 8 kB / 387.5 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.0148, allocations: 0 / 387.5 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.01481, allocations: 3.984 kB / 387.5 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006325/0.01544, allocations: 0.6847 MB / 388.2 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.01545, allocations: 0 / 388.2 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.01557, allocations: 47.91 kB / 388.2 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.01557, allocations: 0 / 388.2 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.01558, allocations: 11.98 kB / 388.3 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01559, allocations: 0 / 388.3 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01559, allocations: 0 / 388.3 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.01588, allocations: 462.5 kB / 388.7 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.01593, allocations: 55.55 kB / 388.8 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.01596, allocations: 7.938 kB / 388.8 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.01606, allocations: 15.98 kB / 388.8 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.01611, allocations: 15.97 kB / 388.8 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.01612, allocations: 7.984 kB / 388.8 MB, free: 7.727 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002639/0.01639, allocations: 422.9 kB / 389.2 MB, free: 7.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01639, allocations: 0 / 389.2 MB, free: 7.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002603/0.01665, allocations: 60 kB / 389.3 MB, free: 7.262 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 (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 Backend phase and start with SimCode phase: time 0.000806/0.01745, allocations: 392.1 kB / 389.7 MB, free: 7.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.01762, allocations: 99.48 kB / 389.8 MB, free: 6.918 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01762, allocations: 0 / 389.8 MB, free: 6.918 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.629e-05/0.01769, allocations: 67.58 kB / 389.8 MB, free: 6.848 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.01808, allocations: 92.59 kB / 389.9 MB, free: 6.762 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.01929, allocations: 0.824 MB / 390.7 MB, free: 5.898 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.01941, allocations: 148.5 kB / 390.9 MB, free: 5.734 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001438/0.01955, allocations: 67.22 kB / 390.9 MB, free: 5.664 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.01972, allocations: 138.2 kB / 391.1 MB, free: 5.527 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01972, allocations: 0 / 391.1 MB, free: 5.527 MB / 362.7 MB Notification: Performance of Templates: time 0.007932/0.02765, allocations: 5.008 MB / 396.1 MB, free: 0.6055 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.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: 3.1966797029599547]