Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001059/0.001059, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001065/0.001065, allocations: 166.4 kB / 25 MB, free: 8.793 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.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2559/0.2559, allocations: 34.26 MB / 296 MB, free: 0.7812 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 378 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.041e-05, allocations: 5.828 kB / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003683/0.003714, allocations: 2.101 MB / 380.1 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.00583, allocations: 1.266 MB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.005982, allocations: 4 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.006251, allocations: 55.44 kB / 381.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005557/0.006807, allocations: 219 kB / 381.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009501/0.007757, allocations: 450.9 kB / 382.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004607/0.008217, allocations: 342.8 kB / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.008403, allocations: 40.91 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000379/0.008782, allocations: 187.4 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.009071, allocations: 183.5 kB / 382.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.00911, allocations: 12 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.009268, allocations: 71.91 kB / 382.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.009434, allocations: 143.5 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.009536, allocations: 95.58 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004623/0.009998, allocations: 322.6 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.01001, allocations: 4 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01001, allocations: 0 / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.01002, allocations: 0 / 383.5 MB, free: 13.5 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.0008757/0.01089, allocations: 0.8405 MB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.01093, allocations: 8.031 kB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/0.01119, allocations: 96.48 kB / 384.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.01158, allocations: 373.3 kB / 384.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.01159, allocations: 8.375 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.01162, allocations: 16.36 kB / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.01182, allocations: 129.2 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.01184, allocations: 3.938 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.01185, allocations: 11.98 kB / 385 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.01186, allocations: 0 / 385 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.073e-05/0.01194, allocations: 39.91 kB / 385 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006033/0.01254, allocations: 0.6702 MB / 385.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.01269, allocations: 102.3 kB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.704e-05/0.01274, allocations: 39.44 kB / 385.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.01276, allocations: 0 / 385.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.01278, allocations: 49.31 kB / 385.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.01279, allocations: 0 / 385.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008579/0.01364, allocations: 499.2 kB / 386.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.01368, allocations: 81.11 kB / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004953/0.01418, allocations: 0.6793 MB / 387.1 MB, free: 9.676 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.0142, allocations: 29.7 kB / 387.1 MB, free: 9.641 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.01436, allocations: 327.2 kB / 387.4 MB, free: 9.312 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.877e-05/0.01441, allocations: 71.38 kB / 387.5 MB, free: 9.242 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.01447, allocations: 47.34 kB / 387.6 MB, free: 9.188 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.01462, allocations: 0.5587 MB / 388.1 MB, free: 8.617 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.268e-05/0.01468, allocations: 27.97 kB / 388.1 MB, free: 8.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-05/0.01476, allocations: 55.28 kB / 388.2 MB, free: 8.527 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.0149, allocations: 91.48 kB / 388.3 MB, free: 8.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01491, allocations: 0 / 388.3 MB, free: 8.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002391/0.01514, allocations: 197 kB / 388.5 MB, free: 8.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.01516, allocations: 8 kB / 388.5 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.01516, allocations: 3.984 kB / 388.5 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.01518, allocations: 4 kB / 388.5 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.01533, allocations: 47.91 kB / 388.5 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.01533, allocations: 4 kB / 388.6 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.258e-05/0.01541, allocations: 11.98 kB / 388.6 MB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.01542, allocations: 11.98 kB / 388.6 MB, free: 8.141 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 9.203e-05/0.01551, allocations: 160.6 kB / 388.7 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.42e-05/0.01559, allocations: 71.56 kB / 388.8 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.0159, allocations: 223.1 kB / 389 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.0159, allocations: 7.984 kB / 389 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01591, allocations: 4 kB / 389 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.01591, allocations: 3.984 kB / 389 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006651/0.01657, allocations: 0.7814 MB / 389.8 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01658, allocations: 0 / 389.8 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.01669, allocations: 47.89 kB / 389.9 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.01669, allocations: 4 kB / 389.9 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.01671, allocations: 4 kB / 389.9 MB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.01671, allocations: 8 kB / 389.9 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01671, allocations: 0 / 389.9 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.01701, allocations: 466.5 kB / 390.3 MB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.01706, allocations: 63.61 kB / 390.4 MB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.0171, allocations: 4 kB / 390.4 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.0172, allocations: 15.98 kB / 390.4 MB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.82e-05/0.01727, allocations: 19.95 kB / 390.4 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.01728, allocations: 8 kB / 390.4 MB, free: 6.188 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003217/0.01761, allocations: 455 kB / 390.9 MB, free: 5.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01761, allocations: 0 / 390.9 MB, free: 5.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002523/0.01786, allocations: 67.94 kB / 391 MB, free: 5.684 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.0008591/0.01872, allocations: 383.6 kB / 391.3 MB, free: 5.445 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.01893, allocations: 110.1 kB / 391.4 MB, free: 5.336 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01894, allocations: 0 / 391.4 MB, free: 5.336 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.567e-05/0.01902, allocations: 67.58 kB / 391.5 MB, free: 5.266 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.01942, allocations: 89.08 kB / 391.6 MB, free: 5.184 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.0205, allocations: 0.793 MB / 392.4 MB, free: 4.352 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.583e-05/0.02058, allocations: 144.4 kB / 392.5 MB, free: 4.191 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.0207, allocations: 71.2 kB / 392.6 MB, free: 4.117 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.053e-05/0.02079, allocations: 40.48 kB / 392.6 MB, free: 4.078 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02079, allocations: 0 / 392.6 MB, free: 4.078 MB / 362.7 MB Notification: Performance of Templates: time 0.007283/0.02807, allocations: 4.547 MB / 397.2 MB, free: 15.57 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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.413186297053471]