Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001736/0.001736, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.002397/0.002397, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.549/1.549, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.2486/0.2486, allocations: 46.92 MB / 360.8 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 179] 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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002701/0.002701, allocations: 83.84 kB / 0.4962 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.403, allocations: 66.09 MB / 0.5608 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.004917/0.4079, allocations: 1.661 MB / 0.5624 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.4096, allocations: 0.5966 MB / 0.563 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.4097, allocations: 0 / 0.563 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009647/0.4107, allocations: 459.1 kB / 0.5634 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008275/0.4115, allocations: 287.3 kB / 0.5637 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007674/0.4123, allocations: 182.3 kB / 0.5638 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004575/0.4127, allocations: 179.6 kB / 0.564 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.4129, allocations: 13.81 kB / 0.564 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.4131, allocations: 111.7 kB / 0.5641 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004501/0.4136, allocations: 251.5 kB / 0.5644 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.4136, allocations: 4 kB / 0.5644 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.4138, allocations: 36 kB / 0.5644 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.4139, allocations: 83.69 kB / 0.5645 GB, free: 464 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.4141, allocations: 111 kB / 0.5646 GB, free: 352 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005287/0.4146, allocations: 274.5 kB / 0.5649 GB, free: 76 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4146, allocations: 0 / 0.5649 GB, free: 76 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4146, allocations: 0 / 0.5649 GB, free: 76 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.4146, allocations: 0 / 0.5649 GB, free: 76 kB / 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.001201/0.4158, allocations: 0.5854 MB / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.342e-05/0.4159, allocations: 12.03 kB / 0.5654 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.329e-05/0.416, allocations: 30.75 kB / 0.5655 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.4161, allocations: 44.66 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004513/0.4166, allocations: 254.8 kB / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.4166, allocations: 384 / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.4166, allocations: 8.312 kB / 0.5658 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.4168, allocations: 58.17 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.4168, allocations: 3.938 kB / 0.5658 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.4168, allocations: 4 kB / 0.5658 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.4169, allocations: 3.984 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.417, allocations: 31.97 kB / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007853/0.4178, allocations: 375.7 kB / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/0.4181, allocations: 50.5 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.392e-05/0.4182, allocations: 12.94 kB / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.4182, allocations: 4 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.4182, allocations: 34.56 kB / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.4183, allocations: 4 kB / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000967/0.4192, allocations: 240.7 kB / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.4193, allocations: 51.41 kB / 0.5666 GB, free: 14.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.4207, allocations: 0.8738 MB / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.4207, allocations: 25.7 kB / 0.5675 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.4209, allocations: 228.1 kB / 0.5677 GB, free: 12.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.421, allocations: 23.8 kB / 0.5677 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.421, allocations: 17.72 kB / 0.5677 GB, free: 12.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002281/0.4213, allocations: 366.7 kB / 0.5681 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.4214, allocations: 19.98 kB / 0.5681 GB, free: 12.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.136e-05/0.4214, allocations: 19.98 kB / 0.5681 GB, free: 12.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.4217, allocations: 60.75 kB / 0.5682 GB, free: 12.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4217, allocations: 4 kB / 0.5682 GB, free: 12.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003288/0.422, allocations: 125.3 kB / 0.5683 GB, free: 12.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.422, allocations: 4 kB / 0.5683 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.422, allocations: 0 / 0.5683 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.422, allocations: 0 / 0.5683 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.345e-05/0.4221, allocations: 15.98 kB / 0.5683 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4221, allocations: 0 / 0.5683 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.288e-05/0.4222, allocations: 7.984 kB / 0.5683 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-06/0.4222, allocations: 4 kB / 0.5683 GB, free: 12.31 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 (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 0.0003088/0.4225, allocations: 215 kB / 0.5685 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.4226, allocations: 47.67 kB / 0.5686 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004688/0.4231, allocations: 149.2 kB / 0.5687 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.4231, allocations: 3.938 kB / 0.5687 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4231, allocations: 320 / 0.5687 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.4231, allocations: 0 / 0.5687 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008857/0.424, allocations: 457.5 kB / 0.5692 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.424, allocations: 0 / 0.5692 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.838e-05/0.4241, allocations: 11.98 kB / 0.5692 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4241, allocations: 0 / 0.5692 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.4241, allocations: 8 kB / 0.5692 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.4241, allocations: 3.938 kB / 0.5692 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4241, allocations: 0 / 0.5692 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.4245, allocations: 219.2 kB / 0.5694 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-05/0.4246, allocations: 35.72 kB / 0.5694 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.4247, allocations: 4 kB / 0.5694 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.4248, allocations: 7.922 kB / 0.5694 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/0.4249, allocations: 4 kB / 0.5695 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.4249, allocations: 3.938 kB / 0.5695 GB, free: 11.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001063/0.426, allocations: 0.6628 MB / 0.5701 GB, free: 10.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.426, allocations: 4 kB / 0.5701 GB, free: 10.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004609/0.4264, allocations: 31.88 kB / 0.5701 GB, free: 10.38 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 (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.002781/0.4292, allocations: 1.044 MB / 0.5712 GB, free: 9.445 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002835/0.4295, allocations: 55.91 kB / 0.5712 GB, free: 9.391 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4295, allocations: 0 / 0.5712 GB, free: 9.391 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.4296, allocations: 27.98 kB / 0.5712 GB, free: 9.363 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006645/0.4303, allocations: 40.81 kB / 0.5713 GB, free: 9.324 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005853/0.4361, allocations: 3.275 MB / 0.5745 GB, free: 5.957 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006759/0.4368, allocations: 0.83 MB / 0.5753 GB, free: 5.098 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.4369, allocations: 20.58 kB / 0.5753 GB, free: 5.074 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.4371, allocations: 115.4 kB / 0.5754 GB, free: 4.961 MB / 414.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4371, allocations: 4 kB / 0.5754 GB, free: 4.957 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03957/0.4767, allocations: 6.277 MB / 0.5815 GB, free: 14.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.15, allocations: 3.094 kB / 0.5815 GB, free: 14.71 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.382574215065688]