Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.001415/0.001415, allocations: 117.6 kB / 20.32 MB, free: 1.414 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.001775/0.001775, allocations: 210.2 kB / 23.6 MB, free: 4.668 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.437/1.437, allocations: 230.4 MB / 257.1 MB, free: 8.051 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.2332/0.2332, allocations: 46.93 MB / 360.5 MB, free: 4.215 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.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 75.88 kB / 0.4958 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.334, allocations: 66.09 MB / 0.5604 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003047/0.3371, allocations: 1.593 MB / 0.5619 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.3389, allocations: 1.232 MB / 0.5631 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.339, allocations: 0 / 0.5631 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.3392, allocations: 27.84 kB / 0.5631 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.3395, allocations: 83.62 kB / 0.5632 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.3398, allocations: 110.9 kB / 0.5633 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.34, allocations: 75.77 kB / 0.5634 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.351e-05/0.34, allocations: 9.828 kB / 0.5634 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.574e-05/0.3401, allocations: 35.84 kB / 0.5634 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.3402, allocations: 27.86 kB / 0.5635 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.3402, allocations: 4 kB / 0.5635 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.3404, allocations: 91.88 kB / 0.5636 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.787e-05/0.3405, allocations: 23.91 kB / 0.5636 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/0.3405, allocations: 15.88 kB / 0.5636 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.3408, allocations: 135.5 kB / 0.5637 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3408, allocations: 8 kB / 0.5637 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3408, allocations: 3.938 kB / 0.5637 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3408, allocations: 4 kB / 0.5637 GB, free: 0.7109 MB / 398.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.0005026/0.3413, allocations: 321.7 kB / 0.564 GB, free: 372 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.3413, allocations: 12.03 kB / 0.5641 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.3414, allocations: 30.75 kB / 0.5641 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.3414, allocations: 8.891 kB / 0.5641 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.3416, allocations: 144.5 kB / 0.5642 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.3416, allocations: 384 / 0.5642 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.3417, allocations: 4.375 kB / 0.5642 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.3419, allocations: 93.59 kB / 0.5643 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3419, allocations: 11.92 kB / 0.5643 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.3419, allocations: 4 kB / 0.5643 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3419, allocations: 0 / 0.5643 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.342, allocations: 20.05 kB / 0.5644 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.3424, allocations: 247.9 kB / 0.5646 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.3426, allocations: 50.5 kB / 0.5646 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.244e-05/0.3427, allocations: 12.94 kB / 0.5647 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.3427, allocations: 4 kB / 0.5647 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.3427, allocations: 30.56 kB / 0.5647 GB, free: 15.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3427, allocations: 4 kB / 0.5647 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000607/0.3434, allocations: 149.4 kB / 0.5648 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.3434, allocations: 81.11 kB / 0.5649 GB, free: 15.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.3436, allocations: 148 kB / 0.5651 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3436, allocations: 33.64 kB / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/0.3437, allocations: 92.08 kB / 0.5652 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.3437, allocations: 19.84 kB / 0.5652 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.3437, allocations: 25.72 kB / 0.5652 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3439, allocations: 318.8 kB / 0.5655 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.569e-05/0.344, allocations: 19.98 kB / 0.5655 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.934e-05/0.344, allocations: 63.41 kB / 0.5656 GB, free: 14.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.3442, allocations: 60.95 kB / 0.5657 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3442, allocations: 0 / 0.5657 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002142/0.3444, allocations: 85.64 kB / 0.5657 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3444, allocations: 8 kB / 0.5658 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3444, allocations: 3.938 kB / 0.5658 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3445, allocations: 4 kB / 0.5658 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.329e-05/0.3445, allocations: 11.98 kB / 0.5658 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3445, allocations: 0 / 0.5658 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.878e-05/0.3446, allocations: 4 kB / 0.5658 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.3446, allocations: 0 / 0.5658 GB, free: 14.4 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.000109/0.3447, allocations: 127.1 kB / 0.5659 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.3447, allocations: 7.953 kB / 0.5659 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.345, allocations: 98 kB / 0.566 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.345, allocations: 3.984 kB / 0.566 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.345, allocations: 4 kB / 0.566 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.345, allocations: 0 / 0.566 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.3455, allocations: 325.5 kB / 0.5663 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3455, allocations: 0 / 0.5663 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.927e-05/0.3456, allocations: 11.98 kB / 0.5663 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.3456, allocations: 8 kB / 0.5663 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.3456, allocations: 0 / 0.5663 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3456, allocations: 0 / 0.5663 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3456, allocations: 3.938 kB / 0.5663 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.3458, allocations: 187.7 kB / 0.5665 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.097e-05/0.3459, allocations: 7.953 kB / 0.5665 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.3459, allocations: 0 / 0.5665 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/0.346, allocations: 7.984 kB / 0.5665 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.346, allocations: 3.938 kB / 0.5665 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.346, allocations: 11.94 kB / 0.5665 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.3461, allocations: 116.9 kB / 0.5667 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3461, allocations: 0 / 0.5667 GB, free: 13.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00032/0.3464, allocations: 47.86 kB / 0.5667 GB, free: 13.36 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.002212/0.3486, allocations: 1.092 MB / 0.5678 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002285/0.3489, allocations: 59.83 kB / 0.5678 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3489, allocations: 0 / 0.5678 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.298e-05/0.349, allocations: 27.98 kB / 0.5679 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.3493, allocations: 19.92 kB / 0.5679 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.3512, allocations: 1.444 MB / 0.5693 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.389e-05/0.3513, allocations: 83.02 kB / 0.5694 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.008e-05/0.3513, allocations: 24 kB / 0.5694 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.477e-05/0.3514, allocations: 31.41 kB / 0.5694 GB, free: 10.62 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3514, allocations: 0 / 0.5694 GB, free: 10.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03603/0.3874, allocations: 3.383 MB / 0.5727 GB, free: 7.254 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.39, allocations: 4.062 kB / 0.5727 GB, free: 7.25 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.CombiTable1Dv.Test20_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.520638938993216]