Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001307/0.001307, 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.001486/0.001486, allocations: 212.3 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.52/1.52, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2414/0.2414, allocations: 46.93 MB / 360.9 MB, free: 4.262 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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002461/0.002461, allocations: 75.89 kB / 0.4962 GB, free: 7.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3712, allocations: 66.02 MB / 0.5607 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.004231/0.3755, allocations: 1.683 MB / 0.5623 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.3778, allocations: 1.302 MB / 0.5636 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.435e-05/0.3779, allocations: 3.938 kB / 0.5636 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.3781, allocations: 19.86 kB / 0.5636 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.3785, allocations: 91.61 kB / 0.5637 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005323/0.379, allocations: 178.9 kB / 0.5639 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.3792, allocations: 75.78 kB / 0.5639 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.3793, allocations: 17.8 kB / 0.5639 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.851e-05/0.3794, allocations: 35.8 kB / 0.564 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.3796, allocations: 39.83 kB / 0.564 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.3796, allocations: 4 kB / 0.564 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.3798, allocations: 103.9 kB / 0.5641 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.3799, allocations: 19.92 kB / 0.5641 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.973e-05/0.3799, allocations: 31.8 kB / 0.5642 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.3802, allocations: 155.5 kB / 0.5643 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3802, allocations: 0 / 0.5643 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3802, allocations: 0 / 0.5643 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.3802, allocations: 0 / 0.5643 GB, free: 0.6797 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006171/0.3808, allocations: 353.5 kB / 0.5647 GB, free: 312 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3809, allocations: 12.03 kB / 0.5647 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.894e-05/0.3809, allocations: 38.69 kB / 0.5647 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.381, allocations: 8.891 kB / 0.5647 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.3812, allocations: 142.3 kB / 0.5648 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3812, allocations: 4.375 kB / 0.5649 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.3813, allocations: 4.375 kB / 0.5649 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.3815, allocations: 83.31 kB / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3815, allocations: 0 / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3815, allocations: 0 / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3815, allocations: 0 / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.3817, allocations: 43.91 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/0.3822, allocations: 283.8 kB / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.3823, allocations: 46.55 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.504e-05/0.3824, allocations: 24.94 kB / 0.5653 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.3824, allocations: 4.062 kB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.3825, allocations: 38.5 kB / 0.5654 GB, free: 15.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3825, allocations: 0 / 0.5654 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008379/0.3833, allocations: 237.5 kB / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.3834, allocations: 77.11 kB / 0.5657 GB, free: 15.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.3836, allocations: 157.5 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.3836, allocations: 25.7 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.036e-05/0.3837, allocations: 104.1 kB / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.3837, allocations: 27.72 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.3837, allocations: 21.72 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3839, allocations: 318.8 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.384, allocations: 39.97 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.3842, allocations: 57.67 kB / 0.5664 GB, free: 14.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.3844, allocations: 88.78 kB / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3844, allocations: 0 / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002858/0.3847, allocations: 125.8 kB / 0.5666 GB, free: 14.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3847, allocations: 7.938 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3847, allocations: 4.031 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3847, allocations: 4 kB / 0.5666 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.3848, allocations: 19.97 kB / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.3848, allocations: 8.062 kB / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.027e-05/0.3849, allocations: 15.92 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.3849, allocations: 4 kB / 0.5666 GB, free: 14.09 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 (7): * Single equations (assignments): 7 * 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.0001088/0.385, allocations: 121.8 kB / 0.5668 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.3851, allocations: 11.91 kB / 0.5668 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003591/0.3854, allocations: 142.3 kB / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3854, allocations: 4 kB / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3854, allocations: 0 / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.3854, allocations: 3.938 kB / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006018/0.386, allocations: 389.6 kB / 0.5673 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.386, allocations: 0 / 0.5673 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.374e-05/0.3861, allocations: 27.91 kB / 0.5673 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3861, allocations: 0 / 0.5673 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3862, allocations: 3.938 kB / 0.5673 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3862, allocations: 4 kB / 0.5673 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3862, allocations: 0 / 0.5673 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.3865, allocations: 223.5 kB / 0.5675 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.334e-05/0.3865, allocations: 15.94 kB / 0.5675 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.3866, allocations: 3.938 kB / 0.5675 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.383e-05/0.3867, allocations: 4 kB / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.3867, allocations: 11.98 kB / 0.5676 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.3867, allocations: 4 kB / 0.5676 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.3868, allocations: 117.3 kB / 0.5677 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3868, allocations: 4 kB / 0.5677 GB, free: 12.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003061/0.3871, allocations: 47.8 kB / 0.5677 GB, free: 12.88 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 (7): * Single equations (assignments): 7 * 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.002352/0.3895, allocations: 1.152 MB / 0.5689 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003123/0.3898, allocations: 91.86 kB / 0.5689 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3898, allocations: 0 / 0.5689 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.3899, allocations: 47.95 kB / 0.569 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.3903, allocations: 27.17 kB / 0.569 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.3925, allocations: 1.647 MB / 0.5706 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.3928, allocations: 0.7006 MB / 0.5713 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.863e-05/0.3929, allocations: 36.83 kB / 0.5713 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.393, allocations: 31.42 kB / 0.5714 GB, free: 9.215 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.393, allocations: 3.938 kB / 0.5714 GB, free: 9.211 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03268/0.4257, allocations: 3.773 MB / 0.5751 GB, free: 5.469 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.42, allocations: 3.938 kB / 0.5751 GB, free: 5.465 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.513437825022265]