Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001888/0.001888, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002459/0.002459, allocations: 217 kB / 23.75 MB, free: 4.668 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.973 MB / 206.1 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.2242/0.2242, allocations: 44.92 MB / 358.8 MB, free: 6.258 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003215/0.003215, allocations: 67.89 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.332, allocations: 65.47 MB / 0.557 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003442/0.3355, allocations: 2.065 MB / 0.559 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.3375, allocations: 1.147 MB / 0.5602 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.778e-05/0.3376, allocations: 4 kB / 0.5602 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004734/0.338, allocations: 263.1 kB / 0.5604 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000497/0.3385, allocations: 263 kB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.3399, allocations: 0.6688 MB / 0.5613 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004671/0.3404, allocations: 362.8 kB / 0.5617 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.3405, allocations: 50.73 kB / 0.5617 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.3407, allocations: 147.4 kB / 0.5619 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/0.341, allocations: 243.1 kB / 0.5621 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.96e-05/0.3411, allocations: 12 kB / 0.5621 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.3412, allocations: 71.97 kB / 0.5622 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.3413, allocations: 107.5 kB / 0.5623 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.3415, allocations: 134.9 kB / 0.5624 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004369/0.3419, allocations: 354.2 kB / 0.5627 GB, free: 1.914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3419, allocations: 4 kB / 0.5627 GB, free: 1.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.3419, allocations: 0 / 0.5627 GB, free: 1.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.3419, allocations: 0 / 0.5627 GB, free: 1.91 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008408/0.3428, allocations: 0.632 MB / 0.5634 GB, free: 1.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3428, allocations: 16.03 kB / 0.5634 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/0.3428, allocations: 42.73 kB / 0.5634 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.474e-05/0.3429, allocations: 44.66 kB / 0.5635 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.3433, allocations: 280.6 kB / 0.5637 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.3433, allocations: 8.375 kB / 0.5637 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.3434, allocations: 12.38 kB / 0.5638 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.3436, allocations: 129.5 kB / 0.5639 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.3436, allocations: 7.953 kB / 0.5639 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.3436, allocations: 4 kB / 0.5639 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3436, allocations: 8 kB / 0.5639 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.3438, allocations: 91.81 kB / 0.564 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007087/0.3446, allocations: 495.4 kB / 0.5645 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.3448, allocations: 106.5 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.363e-05/0.3448, allocations: 32.84 kB / 0.5646 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.3449, allocations: 15.97 kB / 0.5646 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.3449, allocations: 38.44 kB / 0.5646 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.3449, allocations: 0 / 0.5646 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001016/0.3459, allocations: 456.6 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.346, allocations: 51.41 kB / 0.5651 GB, free: 15.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006921/0.3467, allocations: 0.6073 MB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.3467, allocations: 29.7 kB / 0.5657 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.3468, allocations: 212.4 kB / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.3469, allocations: 67.42 kB / 0.566 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/0.347, allocations: 37.7 kB / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3471, allocations: 358.7 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.3473, allocations: 67.95 kB / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.3474, allocations: 67.95 kB / 0.5665 GB, free: 13.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.3477, allocations: 155.1 kB / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3477, allocations: 0 / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004593/0.3482, allocations: 237.2 kB / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3482, allocations: 10.5 kB / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3482, allocations: 0 / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3482, allocations: 0 / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.3484, allocations: 39.97 kB / 0.5669 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3484, allocations: 3.938 kB / 0.5669 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.882e-05/0.3484, allocations: 8 kB / 0.567 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.3484, allocations: 8 kB / 0.567 GB, free: 13.39 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 (17): * Single equations (assignments): 17 * 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.0001903/0.3486, allocations: 185.7 kB / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.066e-05/0.3487, allocations: 47.67 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005391/0.3493, allocations: 273.7 kB / 0.5674 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3493, allocations: 8 kB / 0.5675 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.3493, allocations: 0 / 0.5675 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3493, allocations: 3.984 kB / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009589/0.3502, allocations: 0.6651 MB / 0.5681 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3502, allocations: 4 kB / 0.5681 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.3504, allocations: 31.97 kB / 0.5681 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3504, allocations: 0 / 0.5681 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3504, allocations: 4 kB / 0.5681 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3504, allocations: 7.938 kB / 0.5682 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3504, allocations: 3.984 kB / 0.5682 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004801/0.3509, allocations: 337.8 kB / 0.5685 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/0.3509, allocations: 51.69 kB / 0.5685 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.351, allocations: 0 / 0.5685 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.3511, allocations: 15.94 kB / 0.5685 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.3511, allocations: 15.97 kB / 0.5686 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.3511, allocations: 4 kB / 0.5686 GB, free: 11.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005162/0.3516, allocations: 450.8 kB / 0.569 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3516, allocations: 0 / 0.569 GB, free: 11.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003196/0.352, allocations: 51.94 kB / 0.569 GB, free: 11.18 MB / 414.1 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 (17): * Single equations (assignments): 17 * 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.003493/0.3555, allocations: 1.481 MB / 0.5705 GB, free: 9.996 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003755/0.3558, allocations: 159.8 kB / 0.5706 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3558, allocations: 0 / 0.5706 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.356, allocations: 86.39 kB / 0.5707 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.3565, allocations: 85.92 kB / 0.5708 GB, free: 9.684 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.3608, allocations: 3.347 MB / 0.5741 GB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.3613, allocations: 0.8298 MB / 0.5749 GB, free: 5.398 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.3615, allocations: 58.23 kB / 0.5749 GB, free: 5.344 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.3617, allocations: 139.4 kB / 0.5751 GB, free: 5.207 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3617, allocations: 0 / 0.5751 GB, free: 5.207 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03646/0.3981, allocations: 8.127 MB / 0.583 GB, free: 13.13 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.09, allocations: 0 / 0.583 GB, free: 13.13 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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: 15.224467813968658]