Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001329/0.001329, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001491/0.001491, allocations: 214.6 kB / 23.73 MB, free: 4.16 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.481/1.481, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.2393/0.2393, allocations: 46.96 MB / 360.8 MB, free: 3.941 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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 75.88 kB / 0.4962 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3032, allocations: 66.09 MB / 0.5607 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003317/0.3065, allocations: 1.606 MB / 0.5623 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.3077, allocations: 0.549 MB / 0.5628 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.905e-05/0.3078, allocations: 0 / 0.5628 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006145/0.3084, allocations: 459.1 kB / 0.5632 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005136/0.3089, allocations: 291.3 kB / 0.5635 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.3093, allocations: 172.8 kB / 0.5637 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.3096, allocations: 171.6 kB / 0.5639 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.421e-05/0.3097, allocations: 8 kB / 0.5639 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.3098, allocations: 123.6 kB / 0.564 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.3101, allocations: 243.5 kB / 0.5642 GB, free: 456 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.3101, allocations: 4 kB / 0.5642 GB, free: 452 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.643e-05/0.3102, allocations: 31.97 kB / 0.5642 GB, free: 420 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.3103, allocations: 84.67 kB / 0.5643 GB, free: 336 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.171e-05/0.3103, allocations: 67.25 kB / 0.5644 GB, free: 268 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.3107, allocations: 276.4 kB / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3107, allocations: 4 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3107, allocations: 0 / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.3107, allocations: 0 / 0.5647 GB, free: 15.98 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007849/0.3115, allocations: 0.5815 MB / 0.5652 GB, free: 15.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3115, allocations: 12.03 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.788e-05/0.3116, allocations: 30.75 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.159e-05/0.3116, allocations: 48.64 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.3119, allocations: 250.7 kB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-06/0.3119, allocations: 4.375 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.3119, allocations: 4.375 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.3121, allocations: 58.17 kB / 0.5656 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3121, allocations: 3.938 kB / 0.5656 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.3121, allocations: 0 / 0.5656 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3121, allocations: 4 kB / 0.5656 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.3123, allocations: 35.97 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005563/0.3128, allocations: 359.8 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.3129, allocations: 46.48 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.376e-05/0.313, allocations: 28.94 kB / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.313, allocations: 0 / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.3131, allocations: 38.56 kB / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.3131, allocations: 3.938 kB / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003475/0.3134, allocations: 125.4 kB / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.3134, allocations: 51.41 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009277/0.3144, allocations: 0.8737 MB / 0.5671 GB, free: 13.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.3144, allocations: 29.7 kB / 0.5672 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.3146, allocations: 220.1 kB / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.3146, allocations: 7.906 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.3146, allocations: 17.72 kB / 0.5674 GB, free: 13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.3148, allocations: 366.7 kB / 0.5677 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-05/0.3149, allocations: 19.98 kB / 0.5678 GB, free: 12.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.196e-05/0.3149, allocations: 19.98 kB / 0.5678 GB, free: 12.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.3151, allocations: 44.77 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3151, allocations: 4 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002063/0.3153, allocations: 109.4 kB / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3153, allocations: 8 kB / 0.5679 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3153, allocations: 0 / 0.5679 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3153, allocations: 0 / 0.5679 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.394e-05/0.3154, allocations: 15.98 kB / 0.568 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3154, allocations: 7.922 kB / 0.568 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.793e-05/0.3155, allocations: 4 kB / 0.568 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.3155, allocations: 0 / 0.568 GB, free: 12.39 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 (3): * Single equations (assignments): 3 * 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.0002063/0.3157, allocations: 217.7 kB / 0.5682 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.033e-05/0.3157, allocations: 43.72 kB / 0.5682 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/0.316, allocations: 125.5 kB / 0.5683 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.316, allocations: 12.03 kB / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.316, allocations: 0 / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.316, allocations: 0 / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.3163, allocations: 260.6 kB / 0.5686 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3163, allocations: 0 / 0.5686 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.535e-05/0.3164, allocations: 11.98 kB / 0.5686 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3164, allocations: 4 kB / 0.5686 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.3164, allocations: 0 / 0.5686 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3164, allocations: 7.938 kB / 0.5686 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3164, allocations: 0 / 0.5686 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.3167, allocations: 211.1 kB / 0.5688 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.3167, allocations: 39.72 kB / 0.5689 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.3167, allocations: 3.938 kB / 0.5689 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.756e-05/0.3168, allocations: 7.984 kB / 0.5689 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.3169, allocations: 0 / 0.5689 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.3169, allocations: 4 kB / 0.5689 GB, free: 11.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006555/0.3175, allocations: 0.6589 MB / 0.5695 GB, free: 10.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3175, allocations: 0 / 0.5695 GB, free: 10.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.3178, allocations: 19.94 kB / 0.5695 GB, free: 10.7 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 (3): * Single equations (assignments): 3 * 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.001805/0.3196, allocations: 1.006 MB / 0.5705 GB, free: 9.793 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.3198, allocations: 47.95 kB / 0.5706 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3198, allocations: 0 / 0.5706 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.861e-05/0.3198, allocations: 19.92 kB / 0.5706 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.3202, allocations: 29.81 kB / 0.5706 GB, free: 9.699 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003907/0.3242, allocations: 3.233 MB / 0.5738 GB, free: 6.375 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.3244, allocations: 216.2 kB / 0.574 GB, free: 6.145 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.359e-05/0.3245, allocations: 19.72 kB / 0.574 GB, free: 6.125 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.3246, allocations: 111.4 kB / 0.5741 GB, free: 6.02 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3246, allocations: 0 / 0.5741 GB, free: 6.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.3571, allocations: 6.337 MB / 0.5803 GB, free: 15.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.77, allocations: 11.23 kB / 0.5803 GB, free: 15.69 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable clock1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.86680273199454]