Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001349/0.001349, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 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.001644/0.001644, allocations: 213.7 kB / 23.74 MB, free: 4.688 MB / 14.72 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.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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.2628/0.2628, allocations: 46.93 MB / 360.9 MB, free: 4.359 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 67.91 kB / 0.4962 GB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3408, allocations: 66.03 MB / 0.5607 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.00333/0.3441, allocations: 1.687 MB / 0.5623 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3452, allocations: 0.5699 MB / 0.5629 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.164e-05/0.3452, allocations: 0 / 0.5629 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006089/0.3459, allocations: 463.1 kB / 0.5633 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004773/0.3463, allocations: 291.3 kB / 0.5636 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.3467, allocations: 135.3 kB / 0.5637 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.3469, allocations: 175.6 kB / 0.5639 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.347, allocations: 17.81 kB / 0.5639 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.3471, allocations: 119.7 kB / 0.564 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.3474, allocations: 247.5 kB / 0.5643 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.3474, allocations: 0 / 0.5643 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.3476, allocations: 59.95 kB / 0.5643 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.3477, allocations: 79.64 kB / 0.5644 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.3478, allocations: 111 kB / 0.5645 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.3481, allocations: 282.4 kB / 0.5648 GB, free: 268 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3482, allocations: 4 kB / 0.5648 GB, free: 264 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3482, allocations: 0 / 0.5648 GB, free: 264 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3482, allocations: 0 / 0.5648 GB, free: 264 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007981/0.349, allocations: 0.597 MB / 0.5654 GB, free: 15.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.349, allocations: 12.03 kB / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.225e-05/0.3491, allocations: 34.75 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.3491, allocations: 44.66 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.3494, allocations: 242.8 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3494, allocations: 4.375 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.3494, allocations: 4.375 kB / 0.5657 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.3496, allocations: 65.55 kB / 0.5657 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3496, allocations: 4 kB / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.3496, allocations: 0 / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3496, allocations: 0 / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.3497, allocations: 27.98 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000521/0.3503, allocations: 379.7 kB / 0.5661 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.3504, allocations: 46.55 kB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.861e-05/0.3504, allocations: 16.86 kB / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.3505, allocations: 0 / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.3505, allocations: 38.67 kB / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3505, allocations: 0 / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009466/0.3514, allocations: 312.5 kB / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.3515, allocations: 63.34 kB / 0.5666 GB, free: 14.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009279/0.3524, allocations: 0.866 MB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.3525, allocations: 25.7 kB / 0.5675 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.3526, allocations: 228 kB / 0.5677 GB, free: 13.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.3527, allocations: 39.67 kB / 0.5677 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.3527, allocations: 21.7 kB / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.3529, allocations: 366.8 kB / 0.5681 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.781e-05/0.353, allocations: 27.98 kB / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.839e-05/0.3531, allocations: 23.98 kB / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.3532, allocations: 60.83 kB / 0.5682 GB, free: 12.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3532, allocations: 4 kB / 0.5682 GB, free: 12.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002449/0.3535, allocations: 137.3 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.3535, allocations: 10.66 kB / 0.5683 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3535, allocations: 0 / 0.5683 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3535, allocations: 0 / 0.5683 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.3536, allocations: 19.92 kB / 0.5684 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.3536, allocations: 4 kB / 0.5684 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.492e-05/0.3537, allocations: 0 / 0.5684 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.3537, allocations: 7.984 kB / 0.5684 GB, free: 12.37 MB / 414.1 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.0002033/0.3539, allocations: 213.8 kB / 0.5686 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.354, allocations: 47.67 kB / 0.5686 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003365/0.3543, allocations: 169.8 kB / 0.5688 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3543, allocations: 3.938 kB / 0.5688 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3543, allocations: 3.984 kB / 0.5688 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3543, allocations: 0 / 0.5688 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006481/0.3549, allocations: 482.3 kB / 0.5693 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.355, allocations: 4 kB / 0.5693 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.761e-05/0.355, allocations: 15.98 kB / 0.5693 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.355, allocations: 0 / 0.5693 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.355, allocations: 4 kB / 0.5693 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.355, allocations: 0 / 0.5693 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.355, allocations: 3.938 kB / 0.5693 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.3553, allocations: 248 kB / 0.5695 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.3554, allocations: 43.7 kB / 0.5696 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.3554, allocations: 0 / 0.5696 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.817e-05/0.3555, allocations: 4 kB / 0.5696 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.3555, allocations: 7.984 kB / 0.5696 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.3556, allocations: 8 kB / 0.5696 GB, free: 11.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006916/0.3562, allocations: 0.6628 MB / 0.5702 GB, free: 10.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3562, allocations: 0 / 0.5702 GB, free: 10.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.3565, allocations: 27.94 kB / 0.5703 GB, free: 10.35 MB / 414.1 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.002162/0.3587, allocations: 1.136 MB / 0.5714 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.3589, allocations: 67.89 kB / 0.5714 GB, free: 9.305 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3589, allocations: 0 / 0.5714 GB, free: 9.305 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.906e-05/0.359, allocations: 31.98 kB / 0.5715 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.3594, allocations: 35.08 kB / 0.5715 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003925/0.3633, allocations: 3.345 MB / 0.5748 GB, free: 5.805 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/0.3638, allocations: 0.8265 MB / 0.5756 GB, free: 4.953 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.316e-05/0.3639, allocations: 16.42 kB / 0.5756 GB, free: 4.938 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.364, allocations: 107.4 kB / 0.5757 GB, free: 4.832 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.364, allocations: 0 / 0.5757 GB, free: 4.832 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03427/0.3983, allocations: 6.562 MB / 0.5821 GB, free: 14.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.79, allocations: 10.59 kB / 0.5821 GB, free: 14.33 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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: 14.821699403924868]