Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00159/0.00159, allocations: 116.7 kB / 20.44 MB, free: 1.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002012/0.002012, allocations: 214.2 kB / 23.74 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.595/1.595, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2368/0.2368, allocations: 46.93 MB / 360.8 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003257/0.003257, allocations: 75.88 kB / 0.4962 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4044, allocations: 66.09 MB / 0.5608 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003768/0.4082, allocations: 2.056 MB / 0.5628 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.4104, allocations: 1.15 MB / 0.5639 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.4106, allocations: 7.938 kB / 0.5639 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005887/0.4111, allocations: 263.1 kB / 0.5641 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006561/0.4118, allocations: 259.1 kB / 0.5644 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.4134, allocations: 0.6646 MB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006602/0.4141, allocations: 362.8 kB / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.4143, allocations: 58.7 kB / 0.5654 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003016/0.4146, allocations: 155.4 kB / 0.5656 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/0.415, allocations: 227.2 kB / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.679e-05/0.4151, allocations: 19.94 kB / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.4153, allocations: 75.97 kB / 0.5659 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.4154, allocations: 95.61 kB / 0.566 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.4156, allocations: 142.8 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006087/0.4162, allocations: 354.2 kB / 0.5665 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.4162, allocations: 0 / 0.5665 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4162, allocations: 4 kB / 0.5665 GB, free: 14.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.4162, allocations: 0 / 0.5665 GB, free: 14.41 MB / 414.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.001264/0.4175, allocations: 0.632 MB / 0.5671 GB, free: 13.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.4175, allocations: 16.03 kB / 0.5671 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.141e-05/0.4176, allocations: 38.75 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.4177, allocations: 48.66 kB / 0.5672 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005782/0.4183, allocations: 280.6 kB / 0.5674 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.4183, allocations: 8.375 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.4184, allocations: 16.31 kB / 0.5675 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.4187, allocations: 123.5 kB / 0.5676 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.4187, allocations: 11.89 kB / 0.5676 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.4188, allocations: 4 kB / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.4188, allocations: 0 / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.419, allocations: 95.88 kB / 0.5677 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008359/0.4198, allocations: 495.4 kB / 0.5682 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.42, allocations: 106.5 kB / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.78e-05/0.4201, allocations: 44.77 kB / 0.5683 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.4202, allocations: 8 kB / 0.5683 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.4202, allocations: 30.56 kB / 0.5683 GB, free: 12.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.4202, allocations: 0 / 0.5683 GB, free: 12.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.00115/0.4213, allocations: 460.5 kB / 0.5688 GB, free: 11.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.4214, allocations: 55.34 kB / 0.5688 GB, free: 11.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008159/0.4222, allocations: 0.6112 MB / 0.5694 GB, free: 11.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.4222, allocations: 25.7 kB / 0.5695 GB, free: 11.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.4225, allocations: 216.4 kB / 0.5697 GB, free: 10.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.772e-05/0.4225, allocations: 63.44 kB / 0.5697 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-05/0.4226, allocations: 37.7 kB / 0.5698 GB, free: 10.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.4228, allocations: 358.7 kB / 0.5701 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.423, allocations: 67.95 kB / 0.5702 GB, free: 10.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.4231, allocations: 65.83 kB / 0.5702 GB, free: 10.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.4234, allocations: 159.1 kB / 0.5704 GB, free: 10.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4234, allocations: 0 / 0.5704 GB, free: 10.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000474/0.4239, allocations: 233.2 kB / 0.5706 GB, free: 9.957 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.4239, allocations: 8 kB / 0.5706 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.4239, allocations: 3.984 kB / 0.5706 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.4239, allocations: 3.938 kB / 0.5706 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.4241, allocations: 35.92 kB / 0.5707 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.4241, allocations: 4 kB / 0.5707 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.4242, allocations: 8 kB / 0.5707 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.4242, allocations: 11.98 kB / 0.5707 GB, free: 9.883 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.0002234/0.4245, allocations: 181.7 kB / 0.5709 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.4246, allocations: 51.61 kB / 0.5709 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005958/0.4252, allocations: 279.7 kB / 0.5712 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.4252, allocations: 8 kB / 0.5712 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4252, allocations: 0 / 0.5712 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4252, allocations: 0 / 0.5712 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.4262, allocations: 0.6613 MB / 0.5718 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.4262, allocations: 4 kB / 0.5718 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.4263, allocations: 35.98 kB / 0.5719 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.4263, allocations: 0 / 0.5719 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.4263, allocations: 7.938 kB / 0.5719 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4263, allocations: 4 kB / 0.5719 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4263, allocations: 0 / 0.5719 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004921/0.4268, allocations: 341.5 kB / 0.5722 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.4269, allocations: 43.7 kB / 0.5722 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.4269, allocations: 4 kB / 0.5722 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.4271, allocations: 11.98 kB / 0.5723 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.4271, allocations: 19.92 kB / 0.5723 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.4271, allocations: 4 kB / 0.5723 GB, free: 8.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005357/0.4276, allocations: 450.8 kB / 0.5727 GB, free: 7.723 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4276, allocations: 0 / 0.5727 GB, free: 7.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003356/0.428, allocations: 55.92 kB / 0.5728 GB, free: 7.668 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.003611/0.4316, allocations: 1.458 MB / 0.5742 GB, free: 6.465 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003894/0.432, allocations: 163.8 kB / 0.5743 GB, free: 6.305 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.432, allocations: 0 / 0.5743 GB, free: 6.305 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.4322, allocations: 83.89 kB / 0.5744 GB, free: 6.223 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000639/0.4328, allocations: 84.67 kB / 0.5745 GB, free: 6.145 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004624/0.4374, allocations: 3.337 MB / 0.5778 GB, free: 2.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.4379, allocations: 0.8338 MB / 0.5786 GB, free: 1.867 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000165/0.4381, allocations: 62.22 kB / 0.5786 GB, free: 1.809 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.4383, allocations: 139.4 kB / 0.5788 GB, free: 1.672 MB / 414.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4383, allocations: 0 / 0.5788 GB, free: 1.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04054/0.4788, allocations: 8.119 MB / 0.5867 GB, free: 9.586 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.85, allocations: 8 kB / 0.5867 GB, free: 9.578 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.09831546805799]