Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.001296/0.001296, allocations: 114 kB / 20.43 MB, free: 1.457 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.001566/0.001566, allocations: 213.1 kB / 23.74 MB, free: 4.672 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.554/1.554, allocations: 230.5 MB / 257.4 MB, free: 8 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.2395/0.2395, allocations: 46.92 MB / 360.8 MB, free: 4.172 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.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002513/0.002513, allocations: 83.84 kB / 0.4963 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3888, allocations: 66.08 MB / 0.5608 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003297/0.3921, allocations: 1.761 MB / 0.5625 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.394, allocations: 1.049 MB / 0.5636 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.24e-05/0.3941, allocations: 3.938 kB / 0.5636 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.3944, allocations: 95.62 kB / 0.5636 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.3948, allocations: 119.5 kB / 0.5638 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.395, allocations: 79.72 kB / 0.5638 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.3952, allocations: 123.6 kB / 0.564 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3953, allocations: 17.8 kB / 0.564 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.3954, allocations: 59.77 kB / 0.564 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.3955, allocations: 75.73 kB / 0.5641 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.3955, allocations: 4 kB / 0.5641 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.3957, allocations: 63.97 kB / 0.5642 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.262e-05/0.3957, allocations: 23.86 kB / 0.5642 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.817e-05/0.3958, allocations: 47.67 kB / 0.5642 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.396, allocations: 139.4 kB / 0.5644 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.396, allocations: 4 kB / 0.5644 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.396, allocations: 0 / 0.5644 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.396, allocations: 0 / 0.5644 GB, free: 0.5977 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005523/0.3966, allocations: 377.3 kB / 0.5647 GB, free: 204 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3966, allocations: 8.031 kB / 0.5647 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.3967, allocations: 30.75 kB / 0.5648 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.3967, allocations: 16.84 kB / 0.5648 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.397, allocations: 170.9 kB / 0.5649 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.397, allocations: 8.359 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.397, allocations: 4.375 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.3972, allocations: 65.73 kB / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3972, allocations: 0 / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.3972, allocations: 8 kB / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3972, allocations: 0 / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.447e-05/0.3973, allocations: 23.97 kB / 0.5651 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.3977, allocations: 275.8 kB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.398, allocations: 54.56 kB / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.299e-05/0.398, allocations: 28.97 kB / 0.5654 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.3981, allocations: 0 / 0.5654 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.3983, allocations: 75.31 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.3983, allocations: 0 / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007386/0.399, allocations: 241.2 kB / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.3991, allocations: 55.41 kB / 0.5657 GB, free: 15.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.3993, allocations: 238.9 kB / 0.566 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.3993, allocations: 29.7 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.3995, allocations: 112.1 kB / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.19e-05/0.3995, allocations: 39.8 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.3996, allocations: 25.7 kB / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3997, allocations: 326.8 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.19e-05/0.3998, allocations: 27.98 kB / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.342e-05/0.3999, allocations: 56.89 kB / 0.5666 GB, free: 14.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.4, allocations: 81.58 kB / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4, allocations: 0 / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002215/0.4002, allocations: 129.5 kB / 0.5668 GB, free: 13.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.4002, allocations: 7.984 kB / 0.5668 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.4003, allocations: 0 / 0.5668 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.4003, allocations: 0 / 0.5668 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.458e-05/0.4003, allocations: 24 kB / 0.5668 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.4004, allocations: 4.031 kB / 0.5668 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.187e-05/0.4004, allocations: 15.92 kB / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.4004, allocations: 4 kB / 0.5668 GB, free: 13.88 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 (13): * Single equations (assignments): 13 * 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.0001244/0.4005, allocations: 135.1 kB / 0.567 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.4006, allocations: 11.91 kB / 0.567 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.4009, allocations: 151.8 kB / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4009, allocations: 0 / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4009, allocations: 0 / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.4009, allocations: 11.92 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005333/0.4014, allocations: 415.2 kB / 0.5675 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4014, allocations: 0 / 0.5675 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-05/0.4015, allocations: 19.92 kB / 0.5675 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.4015, allocations: 4 kB / 0.5675 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.4015, allocations: 0 / 0.5675 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.4015, allocations: 4 kB / 0.5675 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4015, allocations: 8 kB / 0.5675 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.4018, allocations: 229.1 kB / 0.5678 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.882e-05/0.4018, allocations: 23.84 kB / 0.5678 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.4018, allocations: 0 / 0.5678 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/0.4019, allocations: 4 kB / 0.5678 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.4019, allocations: 15.98 kB / 0.5678 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.402, allocations: 4 kB / 0.5678 GB, free: 12.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001653/0.4021, allocations: 171.2 kB / 0.568 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4021, allocations: 0 / 0.568 GB, free: 12.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.4024, allocations: 35.92 kB / 0.568 GB, free: 12.56 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002493/0.4049, allocations: 1.174 MB / 0.5692 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.4051, allocations: 79.78 kB / 0.5692 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4051, allocations: 0 / 0.5692 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.846e-05/0.4052, allocations: 31.98 kB / 0.5693 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.4056, allocations: 38.95 kB / 0.5693 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.4078, allocations: 1.857 MB / 0.5711 GB, free: 9.441 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.4082, allocations: 0.7158 MB / 0.5718 GB, free: 8.699 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.378e-05/0.4083, allocations: 20.62 kB / 0.5718 GB, free: 8.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.165e-05/0.4084, allocations: 43.42 kB / 0.5719 GB, free: 8.637 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4084, allocations: 0 / 0.5719 GB, free: 8.637 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03084/0.4392, allocations: 4.128 MB / 0.5759 GB, free: 4.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.3, allocations: 2.188 kB / 0.5759 GB, free: 4.551 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.482159671140835]