Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.001293/0.001293, allocations: 112.5 kB / 21.22 MB, free: 0.7461 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.001408/0.001408, allocations: 213.1 kB / 24.53 MB, free: 4.145 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.51/1.51, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2264/0.2264, allocations: 44.92 MB / 359.6 MB, free: 6.289 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.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="cs",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.001978/0.001978, allocations: 63.91 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3669, allocations: 65.48 MB / 0.5578 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003783/0.3707, allocations: 2.04 MB / 0.5598 GB, free: 5.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.3731, allocations: 1.275 MB / 0.561 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.3733, allocations: 7.938 kB / 0.5611 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.3735, allocations: 47.56 kB / 0.5611 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005278/0.3741, allocations: 211.2 kB / 0.5613 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009998/0.3751, allocations: 426 kB / 0.5617 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004579/0.3755, allocations: 307.1 kB / 0.562 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.3757, allocations: 52.88 kB / 0.562 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002711/0.3759, allocations: 131.4 kB / 0.5622 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.3762, allocations: 195.3 kB / 0.5624 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.3763, allocations: 19.94 kB / 0.5624 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.3764, allocations: 67.92 kB / 0.5624 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.3766, allocations: 143.5 kB / 0.5626 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.3768, allocations: 182.6 kB / 0.5628 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005171/0.3773, allocations: 403.9 kB / 0.5631 GB, free: 2.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3773, allocations: 0 / 0.5631 GB, free: 2.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3773, allocations: 0 / 0.5631 GB, free: 2.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3773, allocations: 0 / 0.5631 GB, free: 2.289 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001073/0.3784, allocations: 0.7407 MB / 0.5639 GB, free: 1.516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3784, allocations: 12.03 kB / 0.5639 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.694e-05/0.3784, allocations: 4.188 kB / 0.5639 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.3e-05/0.3785, allocations: 50.73 kB / 0.5639 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002867/0.3788, allocations: 80.48 kB / 0.564 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006861/0.3795, allocations: 410.4 kB / 0.5644 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.3795, allocations: 16.06 kB / 0.5644 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.3795, allocations: 12 kB / 0.5644 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.3798, allocations: 123.3 kB / 0.5645 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.3798, allocations: 7.984 kB / 0.5645 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3798, allocations: 8 kB / 0.5646 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3798, allocations: 0 / 0.5646 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000219/0.38, allocations: 83.83 kB / 0.5646 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.3811, allocations: 0.6479 MB / 0.5653 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.3813, allocations: 109.2 kB / 0.5654 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.3814, allocations: 41.77 kB / 0.5654 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.3814, allocations: 4 kB / 0.5654 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.3814, allocations: 34.55 kB / 0.5654 GB, free: 15.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.3814, allocations: 4 kB / 0.5655 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001477/0.3829, allocations: 0.5306 MB / 0.566 GB, free: 15.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.383, allocations: 81.05 kB / 0.566 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.3841, allocations: 0.9298 MB / 0.567 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.3842, allocations: 29.92 kB / 0.567 GB, free: 14.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.3844, allocations: 260.4 kB / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.052e-05/0.3845, allocations: 63.45 kB / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.976e-05/0.3845, allocations: 29.7 kB / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.3848, allocations: 378.7 kB / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.3849, allocations: 51.97 kB / 0.5677 GB, free: 13.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.3851, allocations: 77.61 kB / 0.5678 GB, free: 13.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.3854, allocations: 137.8 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3854, allocations: 0 / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005191/0.386, allocations: 237.9 kB / 0.5682 GB, free: 12.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.386, allocations: 8 kB / 0.5682 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.386, allocations: 0 / 0.5682 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.386, allocations: 0 / 0.5682 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.3862, allocations: 35.97 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3862, allocations: 0 / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.3864, allocations: 19.92 kB / 0.5682 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.3864, allocations: 12 kB / 0.5682 GB, free: 12.82 MB / 414.1 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 (16): * Single equations (assignments): 16 * 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.0002527/0.3866, allocations: 213.7 kB / 0.5684 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.3868, allocations: 63.58 kB / 0.5685 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006221/0.3874, allocations: 262.6 kB / 0.5688 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3874, allocations: 4 kB / 0.5688 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3874, allocations: 0 / 0.5688 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3874, allocations: 4 kB / 0.5688 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.3886, allocations: 0.7543 MB / 0.5695 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3886, allocations: 4 kB / 0.5695 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.3888, allocations: 35.91 kB / 0.5695 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.3888, allocations: 4 kB / 0.5695 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.3888, allocations: 15.92 kB / 0.5696 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.3888, allocations: 4 kB / 0.5696 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3888, allocations: 0 / 0.5696 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005801/0.3894, allocations: 398.2 kB / 0.5699 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.3896, allocations: 83.59 kB / 0.57 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.078e-05/0.3896, allocations: 11.92 kB / 0.57 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.3898, allocations: 15.98 kB / 0.57 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.3899, allocations: 15.91 kB / 0.5701 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.3899, allocations: 4 kB / 0.5701 GB, free: 10.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007943/0.3907, allocations: 0.6786 MB / 0.5707 GB, free: 10.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3907, allocations: 0 / 0.5707 GB, free: 10.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003614/0.391, allocations: 52 kB / 0.5708 GB, free: 10.14 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 (16): * Single equations (assignments): 16 * 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.002308/0.3934, allocations: 1.242 MB / 0.572 GB, free: 9.027 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004357/0.3938, allocations: 135.9 kB / 0.5721 GB, free: 8.895 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3938, allocations: 0 / 0.5721 GB, free: 8.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.394, allocations: 75.89 kB / 0.5722 GB, free: 8.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006497/0.3946, allocations: 90.41 kB / 0.5723 GB, free: 8.738 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007225/0.4019, allocations: 5.056 MB / 0.5772 GB, free: 3.594 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000751/0.4026, allocations: 0.8652 MB / 0.5781 GB, free: 2.703 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002448/0.4029, allocations: 87.14 kB / 0.5781 GB, free: 2.621 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/0.4031, allocations: 175.4 kB / 0.5783 GB, free: 2.449 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4031, allocations: 0 / 0.5783 GB, free: 2.449 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03351/0.4366, allocations: 10.17 MB / 0.5882 GB, free: 8.371 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.44, allocations: 14.8 kB / 0.5882 GB, free: 8.359 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.772050700965337]