Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.0018/0.0018, allocations: 107.4 kB / 20.48 MB, free: 1.262 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.002445/0.002445, allocations: 211.3 kB / 23.77 MB, free: 4.438 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.489/1.489, allocations: 230.5 MB / 257.4 MB, free: 7.73 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.2304/0.2304, allocations: 46.96 MB / 360.9 MB, free: 3.883 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.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002361, allocations: 75.88 kB / 0.4963 GB, free: 7.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3539, allocations: 66.08 MB / 0.5608 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003154/0.357, allocations: 1.706 MB / 0.5625 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.3587, allocations: 0.9749 MB / 0.5635 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.822e-05/0.3588, allocations: 3.938 kB / 0.5635 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.3591, allocations: 39.83 kB / 0.5635 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003079/0.3594, allocations: 103.5 kB / 0.5636 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.3596, allocations: 79.66 kB / 0.5637 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.3597, allocations: 103.7 kB / 0.5638 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.961e-05/0.3598, allocations: 10.09 kB / 0.5638 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.191e-05/0.3599, allocations: 47.78 kB / 0.5638 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.531e-05/0.36, allocations: 35.73 kB / 0.5639 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.36, allocations: 4 kB / 0.5639 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.745e-05/0.3601, allocations: 39.98 kB / 0.5639 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.384e-05/0.3602, allocations: 23.91 kB / 0.5639 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.978e-05/0.3603, allocations: 27.8 kB / 0.564 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.3605, allocations: 127.4 kB / 0.5641 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3605, allocations: 0 / 0.5641 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3605, allocations: 0 / 0.5641 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.3605, allocations: 4 kB / 0.5641 GB, free: 0.7812 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005754/0.3611, allocations: 357.5 kB / 0.5644 GB, free: 412 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3611, allocations: 8.031 kB / 0.5644 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.3612, allocations: 34.73 kB / 0.5645 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.3612, allocations: 12.89 kB / 0.5645 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.3615, allocations: 158.3 kB / 0.5646 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.3615, allocations: 4.375 kB / 0.5646 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.3615, allocations: 384 / 0.5646 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.3617, allocations: 61.8 kB / 0.5647 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3617, allocations: 7.984 kB / 0.5647 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.3617, allocations: 0 / 0.5647 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3617, allocations: 0 / 0.5647 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.003e-05/0.3618, allocations: 23.92 kB / 0.5647 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.3622, allocations: 263.9 kB / 0.565 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.3624, allocations: 50.69 kB / 0.565 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.875e-05/0.3625, allocations: 20.84 kB / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.3625, allocations: 4 kB / 0.565 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.3627, allocations: 67.33 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3627, allocations: 4 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005905/0.3633, allocations: 201.2 kB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.3633, allocations: 59.34 kB / 0.5654 GB, free: 15.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.3635, allocations: 218.2 kB / 0.5656 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.3636, allocations: 25.7 kB / 0.5656 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.549e-05/0.3636, allocations: 112.1 kB / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.3637, allocations: 23.84 kB / 0.5657 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.3637, allocations: 17.72 kB / 0.5657 GB, free: 14.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3638, allocations: 330.8 kB / 0.5661 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.31e-05/0.3639, allocations: 23.98 kB / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.282e-05/0.364, allocations: 37.7 kB / 0.5661 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.3641, allocations: 65.64 kB / 0.5662 GB, free: 14.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3641, allocations: 0 / 0.5662 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002305/0.3644, allocations: 101.6 kB / 0.5663 GB, free: 14.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3644, allocations: 10.02 kB / 0.5663 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3644, allocations: 3.938 kB / 0.5663 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3644, allocations: 0 / 0.5663 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.757e-05/0.3645, allocations: 16 kB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3645, allocations: 4.031 kB / 0.5663 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.3645, allocations: 4 kB / 0.5663 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.3645, allocations: 3.984 kB / 0.5663 GB, free: 14.29 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001137/0.3647, allocations: 133.7 kB / 0.5664 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.3647, allocations: 11.91 kB / 0.5665 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.365, allocations: 131.2 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.365, allocations: 0 / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.365, allocations: 0 / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.365, allocations: 0 / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004857/0.3654, allocations: 378.4 kB / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3654, allocations: 0 / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.395e-05/0.3655, allocations: 15.94 kB / 0.567 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3655, allocations: 0 / 0.567 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.3655, allocations: 0 / 0.567 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.475e-06/0.3655, allocations: 12.2 kB / 0.567 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3655, allocations: 0 / 0.567 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.3658, allocations: 220.2 kB / 0.5672 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.3658, allocations: 7.953 kB / 0.5672 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.3658, allocations: 0 / 0.5672 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.3659, allocations: 19.89 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.3659, allocations: 8.375 kB / 0.5672 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.366, allocations: 3.984 kB / 0.5672 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.3661, allocations: 159.2 kB / 0.5674 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3661, allocations: 0 / 0.5674 GB, free: 13.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.3663, allocations: 20 kB / 0.5674 GB, free: 13.1 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002292/0.3686, allocations: 1.132 MB / 0.5685 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.3688, allocations: 63.83 kB / 0.5686 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.3688, allocations: 4 kB / 0.5686 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.842e-05/0.3689, allocations: 31.92 kB / 0.5686 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.3693, allocations: 23.97 kB / 0.5686 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.3712, allocations: 1.702 MB / 0.5703 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.694e-05/0.3713, allocations: 100.7 kB / 0.5704 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.99e-05/0.3714, allocations: 16.58 kB / 0.5704 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.3715, allocations: 40.48 kB / 0.5704 GB, free: 10.03 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3715, allocations: 0 / 0.5704 GB, free: 10.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.4032, allocations: 4.283 MB / 0.5746 GB, free: 5.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.32, allocations: 0 / 0.5746 GB, free: 5.773 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.CombiTimeTable.Test26_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.468115704017691]