Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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.001332/0.001332, allocations: 109 kB / 21.1 MB, free: 0.7891 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.001394/0.001394, allocations: 205.8 kB / 24.38 MB, free: 4.203 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.566/1.566, allocations: 230.2 MB / 257.7 MB, free: 8.277 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.2412/0.2412, allocations: 46.88 MB / 361 MB, free: 4.48 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.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 75.84 kB / 0.4962 GB, free: 8.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3641, allocations: 66.02 MB / 0.5607 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.004001/0.3681, allocations: 1.992 MB / 0.5626 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.3703, allocations: 1.213 MB / 0.5638 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.3704, allocations: 7.938 kB / 0.5638 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007186/0.3711, allocations: 203.4 kB / 0.564 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004792/0.3716, allocations: 203.2 kB / 0.5642 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004716/0.372, allocations: 163.6 kB / 0.5644 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003421/0.3724, allocations: 267.2 kB / 0.5646 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.3725, allocations: 24.56 kB / 0.5647 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.3727, allocations: 123.5 kB / 0.5648 GB, free: 456 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.3729, allocations: 111.5 kB / 0.5649 GB, free: 344 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.3729, allocations: 12 kB / 0.5649 GB, free: 332 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.3731, allocations: 63.95 kB / 0.565 GB, free: 268 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.934e-05/0.3731, allocations: 59.7 kB / 0.565 GB, free: 208 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.3733, allocations: 87.41 kB / 0.5651 GB, free: 120 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003894/0.3736, allocations: 240.8 kB / 0.5653 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3737, allocations: 4 kB / 0.5653 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3737, allocations: 0 / 0.5653 GB, free: 15.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3737, allocations: 4 kB / 0.5653 GB, free: 15.88 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009563/0.3746, allocations: 0.5619 MB / 0.5659 GB, free: 15.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3747, allocations: 12.03 kB / 0.5659 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.549e-05/0.3747, allocations: 38.73 kB / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.493e-05/0.3748, allocations: 24.8 kB / 0.566 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.3752, allocations: 296.4 kB / 0.5662 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3752, allocations: 8.375 kB / 0.5662 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.3752, allocations: 8.375 kB / 0.5663 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.3755, allocations: 104.3 kB / 0.5664 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3755, allocations: 4 kB / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3755, allocations: 3.938 kB / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3755, allocations: 0 / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.3756, allocations: 39.97 kB / 0.5664 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/0.3762, allocations: 389.5 kB / 0.5668 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.3765, allocations: 113.2 kB / 0.5669 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.3766, allocations: 41.7 kB / 0.5669 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.3766, allocations: 0 / 0.5669 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002488/0.3769, allocations: 113.1 kB / 0.567 GB, free: 13.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.3769, allocations: 4 kB / 0.567 GB, free: 13.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000501/0.3774, allocations: 185.4 kB / 0.5672 GB, free: 13.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.082e-05/0.3775, allocations: 102.8 kB / 0.5673 GB, free: 13.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004252/0.3779, allocations: 360.4 kB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.3779, allocations: 29.7 kB / 0.5677 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.3781, allocations: 140.1 kB / 0.5678 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.3781, allocations: 35.81 kB / 0.5678 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/0.3782, allocations: 33.7 kB / 0.5679 GB, free: 13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.3783, allocations: 342.8 kB / 0.5682 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.552e-05/0.3784, allocations: 31.98 kB / 0.5682 GB, free: 12.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.3786, allocations: 79.38 kB / 0.5683 GB, free: 12.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.3788, allocations: 95.39 kB / 0.5684 GB, free: 12.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3788, allocations: 3.984 kB / 0.5684 GB, free: 12.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002852/0.379, allocations: 141.5 kB / 0.5685 GB, free: 12.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.3791, allocations: 4 kB / 0.5685 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.3791, allocations: 4 kB / 0.5685 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3791, allocations: 3.984 kB / 0.5686 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.3792, allocations: 32.55 kB / 0.5686 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3792, allocations: 64 / 0.5686 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.876e-05/0.3793, allocations: 19.88 kB / 0.5686 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3793, allocations: 4 kB / 0.5686 GB, free: 12.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001554/0.3795, allocations: 161.7 kB / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.3795, allocations: 27.81 kB / 0.5688 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.3799, allocations: 163.4 kB / 0.5689 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3799, allocations: 4 kB / 0.5689 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3799, allocations: 0 / 0.5689 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3799, allocations: 4 kB / 0.5689 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.3801, allocations: 257.5 kB / 0.5692 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3801, allocations: 0 / 0.5692 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.3802, allocations: 11.94 kB / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3802, allocations: 0 / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3802, allocations: 0 / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.3802, allocations: 7.984 kB / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3802, allocations: 0 / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.3805, allocations: 181.7 kB / 0.5694 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-05/0.3806, allocations: 104.9 kB / 0.5695 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.3806, allocations: 7.984 kB / 0.5695 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.126e-05/0.3807, allocations: 11.94 kB / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.3808, allocations: 15.86 kB / 0.5695 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.3808, allocations: 7.984 kB / 0.5695 GB, free: 11.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003095/0.3811, allocations: 259.1 kB / 0.5698 GB, free: 10.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3811, allocations: 0 / 0.5698 GB, free: 10.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.3814, allocations: 43.92 kB / 0.5698 GB, free: 10.86 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002092/0.3835, allocations: 1.032 MB / 0.5708 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002819/0.3837, allocations: 87.84 kB / 0.5709 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3837, allocations: 0 / 0.5709 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.3839, allocations: 43.97 kB / 0.571 GB, free: 9.812 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.3842, allocations: 72.39 kB / 0.571 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.3872, allocations: 2.34 MB / 0.5733 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.3876, allocations: 0.748 MB / 0.574 GB, free: 6.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.3877, allocations: 37.91 kB / 0.5741 GB, free: 6.484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.3878, allocations: 71.41 kB / 0.5741 GB, free: 6.418 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3878, allocations: 0 / 0.5741 GB, free: 6.418 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/0.417, allocations: 5.892 MB / 0.5799 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.34, allocations: 11.81 kB / 0.5799 GB, free: 0.5312 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv --start-time 1 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable booleanTable.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv. Warning: Get data of variable booleanTable.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv failed! Error: Could not read variable booleanTable.realToBoolean.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv. Warning: Get data of variable booleanTable.realToBoolean.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.597420054953545]