Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001654/0.001654, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001965/0.001965, allocations: 207.7 kB / 23.73 MB, free: 4.391 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.485/1.485, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.2251/0.2251, allocations: 46.95 MB / 360.8 MB, free: 3.91 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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002401/0.002401, allocations: 79.86 kB / 0.4962 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3486, allocations: 66.09 MB / 0.5607 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003325/0.3519, allocations: 1.588 MB / 0.5623 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.353, allocations: 0.5226 MB / 0.5628 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.485e-05/0.3531, allocations: 7.938 kB / 0.5628 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.3533, allocations: 23.84 kB / 0.5628 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003464/0.3537, allocations: 75.62 kB / 0.5629 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.3541, allocations: 115.7 kB / 0.563 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.3542, allocations: 59.84 kB / 0.563 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.3544, allocations: 21.73 kB / 0.5631 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.243e-05/0.3544, allocations: 19.88 kB / 0.5631 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.149e-05/0.3545, allocations: 23.86 kB / 0.5631 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.3545, allocations: 0 / 0.5631 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.3546, allocations: 31.98 kB / 0.5631 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.797e-05/0.3547, allocations: 19.92 kB / 0.5632 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.3547, allocations: 19.86 kB / 0.5632 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.3549, allocations: 79.61 kB / 0.5632 GB, free: 1.398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3549, allocations: 4 kB / 0.5633 GB, free: 1.395 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3549, allocations: 0 / 0.5633 GB, free: 1.395 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.168e-06/0.3549, allocations: 0 / 0.5633 GB, free: 1.395 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.0005653/0.3555, allocations: 313.9 kB / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3555, allocations: 8.031 kB / 0.5636 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.3556, allocations: 34.75 kB / 0.5636 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.3556, allocations: 8.891 kB / 0.5636 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.3558, allocations: 138.3 kB / 0.5637 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3558, allocations: 384 / 0.5637 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.3558, allocations: 4.312 kB / 0.5637 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.356, allocations: 54.19 kB / 0.5638 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.356, allocations: 3.938 kB / 0.5638 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.356, allocations: 4 kB / 0.5638 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.356, allocations: 0 / 0.5638 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.569e-05/0.3561, allocations: 31.97 kB / 0.5638 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.3565, allocations: 248 kB / 0.5641 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.3567, allocations: 46.48 kB / 0.5641 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.286e-05/0.3568, allocations: 16.86 kB / 0.5641 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.3568, allocations: 3.984 kB / 0.5641 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.3568, allocations: 38.56 kB / 0.5642 GB, free: 332 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.3569, allocations: 0 / 0.5642 GB, free: 332 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005729/0.3574, allocations: 149.5 kB / 0.5643 GB, free: 176 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.3575, allocations: 51.41 kB / 0.5644 GB, free: 112 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.3576, allocations: 152.9 kB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.3577, allocations: 29.7 kB / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.966e-05/0.3577, allocations: 100.1 kB / 0.5646 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.3578, allocations: 15.86 kB / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.3578, allocations: 17.72 kB / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.358, allocations: 326.8 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-05/0.358, allocations: 19.98 kB / 0.565 GB, free: 15.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.3581, allocations: 19.98 kB / 0.565 GB, free: 15.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.3582, allocations: 56.81 kB / 0.5651 GB, free: 15.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3582, allocations: 0 / 0.5651 GB, free: 15.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001917/0.3584, allocations: 85.56 kB / 0.5651 GB, free: 15.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3584, allocations: 8 kB / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3585, allocations: 0 / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3585, allocations: 0 / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.87e-05/0.3585, allocations: 15.98 kB / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3585, allocations: 0 / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.3586, allocations: 7.984 kB / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.3586, allocations: 4 kB / 0.5652 GB, free: 15.22 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.0001091/0.3587, allocations: 117.8 kB / 0.5653 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.3587, allocations: 15.89 kB / 0.5653 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.359, allocations: 102 kB / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.359, allocations: 320 / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.359, allocations: 0 / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.359, allocations: 0 / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.3595, allocations: 329.6 kB / 0.5657 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3595, allocations: 4 kB / 0.5657 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.109e-05/0.3595, allocations: 15.92 kB / 0.5657 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3595, allocations: 4 kB / 0.5657 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.3595, allocations: 3.938 kB / 0.5657 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3595, allocations: 3.984 kB / 0.5657 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3595, allocations: 7.938 kB / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.3598, allocations: 179.5 kB / 0.5659 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.3598, allocations: 3.953 kB / 0.5659 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.3598, allocations: 4 kB / 0.5659 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.724e-05/0.3599, allocations: 4 kB / 0.5659 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.3599, allocations: 11.92 kB / 0.5659 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.3599, allocations: 4 kB / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.36, allocations: 119.2 kB / 0.5661 GB, free: 14.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.36, allocations: 0 / 0.5661 GB, free: 14.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.3603, allocations: 15.94 kB / 0.5661 GB, free: 14.2 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.002109/0.3624, allocations: 1.038 MB / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002176/0.3626, allocations: 51.97 kB / 0.5671 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3626, allocations: 4 kB / 0.5671 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.185e-05/0.3627, allocations: 31.91 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.3631, allocations: 15.92 kB / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.3649, allocations: 1.461 MB / 0.5686 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.76e-05/0.365, allocations: 91 kB / 0.5687 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.025e-05/0.365, allocations: 15.77 kB / 0.5687 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.514e-05/0.3651, allocations: 19.44 kB / 0.5687 GB, free: 11.5 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3651, allocations: 0 / 0.5687 GB, free: 11.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.3952, allocations: 3.134 MB / 0.5718 GB, free: 8.383 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.58, allocations: 13.92 kB / 0.5718 GB, free: 8.375 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.74040533322841]