Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.0008411/0.0008411, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008717/0.0008717, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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 0.9548/0.9548, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2734/0.2734, allocations: 32.79 MB / 293.5 MB, free: 1.215 MB / 266.7 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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.965e-06/2.965e-06, allocations: 3.984 kB / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.571e-05, allocations: 2.281 kB / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002771/0.002797, allocations: 1.588 MB / 441.2 MB, free: 2.633 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009031/0.0037, allocations: 0.5258 MB / 441.7 MB, free: 2.102 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.161e-05/0.003762, allocations: 4 kB / 441.7 MB, free: 2.098 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.003983, allocations: 23.8 kB / 441.7 MB, free: 2.074 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.004291, allocations: 83.55 kB / 441.8 MB, free: 1.992 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.004552, allocations: 83.7 kB / 441.9 MB, free: 1.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.004702, allocations: 67.77 kB / 442 MB, free: 1.844 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.004818, allocations: 8 kB / 442 MB, free: 1.836 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.234e-05/0.00488, allocations: 31.91 kB / 442 MB, free: 1.805 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.633e-05/0.004937, allocations: 23.91 kB / 442 MB, free: 1.781 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.004958, allocations: 4 kB / 442 MB, free: 1.777 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.23e-05/0.00504, allocations: 31.94 kB / 442.1 MB, free: 1.746 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.572e-05/0.005096, allocations: 11.92 kB / 442.1 MB, free: 1.734 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.005127, allocations: 11.94 kB / 442.1 MB, free: 1.723 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.00529, allocations: 83.64 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005292, allocations: 0 / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.005293, allocations: 0 / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.005298, allocations: 7.938 kB / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004381/0.005736, allocations: 309.9 kB / 442.5 MB, free: 1.301 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.005784, allocations: 12.03 kB / 442.5 MB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.00582, allocations: 30.75 kB / 442.5 MB, free: 1.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.005851, allocations: 8.891 kB / 442.5 MB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.006025, allocations: 136 kB / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.006037, allocations: 384 / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.006064, allocations: 4.359 kB / 442.7 MB, free: 1.082 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.0062, allocations: 58.17 kB / 442.7 MB, free: 1.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.006212, allocations: 192 / 442.7 MB, free: 1.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.006224, allocations: 3.938 kB / 442.7 MB, free: 1.016 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.006231, allocations: 4 kB / 442.7 MB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.2e-05/0.006293, allocations: 23.98 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.006636, allocations: 236 kB / 443 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.006844, allocations: 50.44 kB / 443 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.628e-05/0.00688, allocations: 12.94 kB / 443.1 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.006904, allocations: 0 / 443.1 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.007109, allocations: 42.5 kB / 443.1 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.00711, allocations: 0 / 443.1 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004328/0.007543, allocations: 145.4 kB / 443.2 MB, free: 452 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.007577, allocations: 55.39 kB / 443.3 MB, free: 384 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.0077, allocations: 152.7 kB / 443.4 MB, free: 220 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.007711, allocations: 25.7 kB / 443.5 MB, free: 188 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.475e-05/0.007756, allocations: 96.12 kB / 443.6 MB, free: 88 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.007776, allocations: 11.86 kB / 443.6 MB, free: 76 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.007809, allocations: 17.72 kB / 443.6 MB, free: 52 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2036/0.2114, allocations: 325.5 kB / 443.9 MB, free: 46.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.2115, allocations: 14.67 kB / 443.9 MB, free: 46.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.95e-05/0.2116, allocations: 23.3 kB / 443.9 MB, free: 46.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.831e-05/0.2117, allocations: 47.77 kB / 444 MB, free: 46.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2117, allocations: 0 / 444 MB, free: 46.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000164/0.2118, allocations: 80.77 kB / 444.1 MB, free: 46.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.2118, allocations: 5.656 kB / 444.1 MB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2118, allocations: 0 / 444.1 MB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.2119, allocations: 0.5625 kB / 444.1 MB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/0.2119, allocations: 18.92 kB / 444.1 MB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2119, allocations: 3.75 kB / 444.1 MB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.663e-05/0.212, allocations: 3.344 kB / 444.1 MB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.212, allocations: 4.031 kB / 444.1 MB, free: 46.04 MB / 410.7 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 (5): * Single equations (assignments): 5 * 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 6.279e-05/0.212, allocations: 123.2 kB / 444.2 MB, free: 45.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.2121, allocations: 6.562 kB / 444.2 MB, free: 45.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.2122, allocations: 89.59 kB / 444.3 MB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2122, allocations: 4.375 kB / 444.3 MB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.2122, allocations: 3.938 kB / 444.3 MB, free: 45.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2122, allocations: 0 / 444.3 MB, free: 45.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.2125, allocations: 305.2 kB / 444.6 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.2125, allocations: 3.938 kB / 444.6 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-05/0.2125, allocations: 15.41 kB / 444.6 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2125, allocations: 3.938 kB / 444.7 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.2125, allocations: 1.438 kB / 444.7 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2125, allocations: 0 / 444.7 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2125, allocations: 5.562 kB / 444.7 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.2126, allocations: 180.3 kB / 444.8 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.679e-06/0.2127, allocations: 9.203 kB / 444.8 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.2127, allocations: 7.344 kB / 444.8 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.463e-05/0.2127, allocations: 3.719 kB / 444.9 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.2127, allocations: 6.516 kB / 444.9 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.2127, allocations: 3.938 kB / 444.9 MB, free: 45.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.185e-05/0.2128, allocations: 122.2 kB / 445 MB, free: 45.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2128, allocations: 0 / 445 MB, free: 45.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001681/0.213, allocations: 21.41 kB / 445 MB, free: 45.41 MB / 410.7 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 (5): * Single equations (assignments): 5 * 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.0009545/0.2139, allocations: 1.033 MB / 446 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001376/0.2141, allocations: 51.92 kB / 446.1 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2141, allocations: 4 kB / 446.1 MB, free: 44.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.405e-05/0.2141, allocations: 21.77 kB / 446.1 MB, free: 44.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.2144, allocations: 15.19 kB / 446.1 MB, free: 44.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009107/0.2153, allocations: 1.447 MB / 447.6 MB, free: 43.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.593e-05/0.2153, allocations: 83.17 kB / 447.7 MB, free: 43.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.723e-05/0.2154, allocations: 10.94 kB / 447.7 MB, free: 43.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.2154, allocations: 28.03 kB / 447.7 MB, free: 43.46 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.2154, allocations: 0 / 447.7 MB, free: 43.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.2322, allocations: 3.248 MB / 450.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.56/6.792, allocations: 10.08 kB / 451 MB, free: 42.17 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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: 8.89334909338504]