Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001338/0.001338, allocations: 112.4 kB / 20.48 MB, free: 1.27 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.00175/0.00175, allocations: 212.1 kB / 23.77 MB, free: 4.445 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.43/1.43, allocations: 230.5 MB / 257.4 MB, free: 7.711 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.2289/0.2289, allocations: 46.94 MB / 360.8 MB, free: 3.871 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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002407/0.002407, allocations: 87.84 kB / 0.4962 GB, free: 7.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3123, allocations: 66.08 MB / 0.5608 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003008/0.3153, allocations: 1.645 MB / 0.5624 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.3164, allocations: 0.5616 MB / 0.5629 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.383e-05/0.3164, allocations: 3.938 kB / 0.5629 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.317, allocations: 451.1 kB / 0.5634 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004595/0.3175, allocations: 295.3 kB / 0.5636 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.3179, allocations: 183 kB / 0.5638 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.3182, allocations: 179.6 kB / 0.564 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.157e-05/0.3183, allocations: 13.81 kB / 0.564 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.3184, allocations: 115.7 kB / 0.5641 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.3187, allocations: 247.5 kB / 0.5643 GB, free: 328 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.3187, allocations: 4 kB / 0.5644 GB, free: 324 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.82e-05/0.3188, allocations: 35.98 kB / 0.5644 GB, free: 288 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.3189, allocations: 91.67 kB / 0.5645 GB, free: 196 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.411e-05/0.319, allocations: 71.25 kB / 0.5645 GB, free: 124 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.3193, allocations: 282.6 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3193, allocations: 0 / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3193, allocations: 0 / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3193, allocations: 0 / 0.5648 GB, free: 15.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007951/0.3201, allocations: 0.5931 MB / 0.5654 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3202, allocations: 12.03 kB / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.404e-05/0.3202, allocations: 34.75 kB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/0.3203, allocations: 44.66 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.3206, allocations: 254.7 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3206, allocations: 4.375 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.3206, allocations: 8.312 kB / 0.5657 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.3208, allocations: 58.22 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3208, allocations: 11.92 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.3208, allocations: 4 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.3208, allocations: 0 / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.321, allocations: 39.95 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.3216, allocations: 375.8 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.3217, allocations: 54.48 kB / 0.5663 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.836e-05/0.3218, allocations: 24.94 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.3218, allocations: 0 / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.3218, allocations: 30.56 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.3218, allocations: 0 / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009607/0.3228, allocations: 328.6 kB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.3228, allocations: 55.41 kB / 0.5667 GB, free: 13.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009303/0.3238, allocations: 0.866 MB / 0.5675 GB, free: 12.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.3238, allocations: 25.7 kB / 0.5675 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.324, allocations: 220 kB / 0.5678 GB, free: 12.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.324, allocations: 23.78 kB / 0.5678 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.3241, allocations: 25.72 kB / 0.5678 GB, free: 12.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.3243, allocations: 366.7 kB / 0.5681 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.3244, allocations: 39.91 kB / 0.5682 GB, free: 12.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.3245, allocations: 39.97 kB / 0.5682 GB, free: 12.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.3248, allocations: 92.72 kB / 0.5683 GB, free: 12.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3248, allocations: 0 / 0.5683 GB, free: 12.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003375/0.3251, allocations: 165.3 kB / 0.5685 GB, free: 11.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3251, allocations: 4 kB / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3251, allocations: 4 kB / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3251, allocations: 0 / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.3253, allocations: 19.97 kB / 0.5685 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.3253, allocations: 4 kB / 0.5685 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.133e-05/0.3254, allocations: 11.98 kB / 0.5685 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.3254, allocations: 4 kB / 0.5685 GB, free: 11.84 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.0001996/0.3256, allocations: 219 kB / 0.5687 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.3256, allocations: 51.66 kB / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004168/0.326, allocations: 181.5 kB / 0.5689 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.326, allocations: 0 / 0.5689 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/0.3261, allocations: 0 / 0.5689 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3261, allocations: 0 / 0.5689 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007415/0.3268, allocations: 493.8 kB / 0.5694 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3268, allocations: 0 / 0.5694 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.538e-05/0.3269, allocations: 19.98 kB / 0.5694 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3269, allocations: 0 / 0.5694 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3269, allocations: 4 kB / 0.5694 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3269, allocations: 3.938 kB / 0.5694 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3269, allocations: 0 / 0.5694 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.3273, allocations: 267.2 kB / 0.5697 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-05/0.3274, allocations: 43.7 kB / 0.5697 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.3274, allocations: 0 / 0.5697 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.3275, allocations: 15.92 kB / 0.5698 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.3276, allocations: 4 kB / 0.5698 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.3276, allocations: 4 kB / 0.5698 GB, free: 10.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006663/0.3282, allocations: 0.6589 MB / 0.5704 GB, free: 9.812 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3282, allocations: 4 kB / 0.5704 GB, free: 9.809 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.3285, allocations: 20 kB / 0.5704 GB, free: 9.789 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.002232/0.3307, allocations: 1.133 MB / 0.5715 GB, free: 8.781 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003141/0.3311, allocations: 79.94 kB / 0.5716 GB, free: 8.703 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3311, allocations: 4 kB / 0.5716 GB, free: 8.699 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.3312, allocations: 47.89 kB / 0.5717 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.3316, allocations: 31.88 kB / 0.5717 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004115/0.3357, allocations: 3.382 MB / 0.575 GB, free: 5.152 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.3359, allocations: 228.1 kB / 0.5752 GB, free: 4.906 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.224e-05/0.336, allocations: 28.94 kB / 0.5752 GB, free: 4.879 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.3362, allocations: 115.4 kB / 0.5754 GB, free: 4.766 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3362, allocations: 0 / 0.5754 GB, free: 4.766 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/0.3684, allocations: 6.868 MB / 0.5821 GB, free: 13.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.06, allocations: 0 / 0.5821 GB, free: 13.91 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_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_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.101174835988786]