Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001542/0.001542, allocations: 104.2 kB / 20.48 MB, free: 1.125 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.001774/0.001774, allocations: 214.9 kB / 23.77 MB, free: 4.332 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.532/1.532, allocations: 230.5 MB / 257.4 MB, free: 7.727 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.256/0.256, allocations: 46.94 MB / 360.8 MB, free: 3.914 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.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 75.86 kB / 0.4962 GB, free: 7.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4146, allocations: 66.08 MB / 0.5608 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003577/0.4182, allocations: 1.596 MB / 0.5623 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.4204, allocations: 1.243 MB / 0.5635 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.135e-05/0.4205, allocations: 4 kB / 0.5635 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.4208, allocations: 31.78 kB / 0.5636 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.4212, allocations: 83.62 kB / 0.5636 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.4215, allocations: 109.3 kB / 0.5637 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.4217, allocations: 71.81 kB / 0.5638 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.4218, allocations: 9.828 kB / 0.5638 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.022e-05/0.4219, allocations: 23.86 kB / 0.5638 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.422, allocations: 31.84 kB / 0.5639 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.422, allocations: 8 kB / 0.5639 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.4222, allocations: 95.88 kB / 0.564 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.244e-05/0.4223, allocations: 11.92 kB / 0.564 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.4223, allocations: 15.94 kB / 0.564 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.4226, allocations: 147.5 kB / 0.5641 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4226, allocations: 0 / 0.5641 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4226, allocations: 0 / 0.5641 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.4226, allocations: 0 / 0.5641 GB, free: 0.5742 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.000589/0.4232, allocations: 329.6 kB / 0.5645 GB, free: 224 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.4232, allocations: 8.031 kB / 0.5645 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.943e-05/0.4233, allocations: 38.75 kB / 0.5645 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.4233, allocations: 12.83 kB / 0.5645 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.4236, allocations: 138.4 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.595e-06/0.4236, allocations: 384 / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.4236, allocations: 4.375 kB / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.4238, allocations: 89.66 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.4238, allocations: 7.875 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.4239, allocations: 4 kB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.4239, allocations: 3.984 kB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.424, allocations: 27.98 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005293/0.4245, allocations: 256 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.4247, allocations: 46.48 kB / 0.5651 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.4248, allocations: 16.86 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.4248, allocations: 0 / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.4248, allocations: 30.56 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.4248, allocations: 0 / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006613/0.4255, allocations: 157.5 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.4256, allocations: 77.11 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.4257, allocations: 147.8 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.4258, allocations: 25.7 kB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/0.4258, allocations: 96.08 kB / 0.5656 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.4259, allocations: 19.84 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.4259, allocations: 17.72 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4261, allocations: 322.8 kB / 0.5659 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.979e-05/0.4261, allocations: 19.98 kB / 0.566 GB, free: 14.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.65e-05/0.4262, allocations: 63.41 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.4264, allocations: 52.83 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4264, allocations: 3.984 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001974/0.4266, allocations: 85.56 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4266, allocations: 8 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4266, allocations: 3.938 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.4266, allocations: 0 / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.956e-05/0.4267, allocations: 16.02 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.4267, allocations: 4 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.4267, allocations: 3.984 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.4268, allocations: 4 kB / 0.5662 GB, free: 14.25 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 9.403e-05/0.4268, allocations: 117.8 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.4269, allocations: 7.953 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.4271, allocations: 97.98 kB / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4271, allocations: 4.312 kB / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4272, allocations: 0 / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4272, allocations: 4 kB / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.4276, allocations: 325.6 kB / 0.5667 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4276, allocations: 3.938 kB / 0.5667 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.017e-05/0.4277, allocations: 19.92 kB / 0.5667 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4277, allocations: 0 / 0.5667 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.4277, allocations: 0 / 0.5667 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4277, allocations: 0 / 0.5667 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.4277, allocations: 3.938 kB / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.4279, allocations: 183.5 kB / 0.5669 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.4279, allocations: 7.953 kB / 0.5669 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.428, allocations: 4 kB / 0.5669 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-05/0.428, allocations: 7.984 kB / 0.5669 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.4281, allocations: 7.938 kB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.4281, allocations: 0 / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.4282, allocations: 117.3 kB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4282, allocations: 0 / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.4285, allocations: 39.86 kB / 0.5671 GB, free: 13.23 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.002399/0.4309, allocations: 1.134 MB / 0.5682 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.4311, allocations: 59.89 kB / 0.5683 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4311, allocations: 0 / 0.5683 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-05/0.4312, allocations: 31.92 kB / 0.5683 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.4316, allocations: 22.73 kB / 0.5683 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.4335, allocations: 1.444 MB / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.553e-05/0.4336, allocations: 75.08 kB / 0.5698 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.827e-05/0.4337, allocations: 23.75 kB / 0.5698 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.662e-05/0.4337, allocations: 35.34 kB / 0.5699 GB, free: 10.46 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4337, allocations: 4 kB / 0.5699 GB, free: 10.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03252/0.4663, allocations: 3.934 MB / 0.5737 GB, free: 6.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.83, allocations: 4 kB / 0.5737 GB, free: 6.52 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_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_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.207192740024766]