Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.001668/0.001668, allocations: 110 kB / 20.43 MB, free: 1.453 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.001499/0.001499, allocations: 212.5 kB / 23.74 MB, free: 4.66 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.628/1.628, 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.2537/0.2537, allocations: 46.93 MB / 360.8 MB, free: 4.188 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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002508/0.002508, allocations: 84.14 kB / 0.4963 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.392, allocations: 66.07 MB / 0.5608 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003333/0.3953, allocations: 1.76 MB / 0.5625 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.3973, allocations: 1.041 MB / 0.5635 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.946e-05/0.3974, allocations: 0 / 0.5635 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004351/0.3978, allocations: 47.7 kB / 0.5636 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004214/0.3982, allocations: 103.5 kB / 0.5637 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.3985, allocations: 79.67 kB / 0.5637 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.3987, allocations: 99.75 kB / 0.5638 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.3988, allocations: 13.75 kB / 0.5639 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.399, allocations: 43.8 kB / 0.5639 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.852e-05/0.3991, allocations: 35.78 kB / 0.5639 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.3991, allocations: 4 kB / 0.5639 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.3992, allocations: 39.98 kB / 0.564 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.366e-05/0.3993, allocations: 19.92 kB / 0.564 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.196e-05/0.3993, allocations: 39.72 kB / 0.564 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.3996, allocations: 131.4 kB / 0.5642 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3996, allocations: 0 / 0.5642 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3996, allocations: 0 / 0.5642 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.3996, allocations: 0 / 0.5642 GB, free: 0.8516 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.0006564/0.4003, allocations: 345.5 kB / 0.5645 GB, free: 496 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.4003, allocations: 12.03 kB / 0.5645 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.795e-05/0.4004, allocations: 30.75 kB / 0.5645 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.4004, allocations: 8.891 kB / 0.5645 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.4007, allocations: 158.9 kB / 0.5647 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.4007, allocations: 8.375 kB / 0.5647 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.4007, allocations: 384 / 0.5647 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.4009, allocations: 57.8 kB / 0.5648 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.4009, allocations: 0 / 0.5648 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.4009, allocations: 4 kB / 0.5648 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4009, allocations: 0 / 0.5648 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.825e-05/0.401, allocations: 19.92 kB / 0.5648 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.4014, allocations: 264 kB / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.4016, allocations: 54.67 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.678e-05/0.4017, allocations: 20.84 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.4017, allocations: 4 kB / 0.5651 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.4019, allocations: 67.33 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.4019, allocations: 7.938 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005531/0.4024, allocations: 173.3 kB / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.4025, allocations: 59.41 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.4027, allocations: 194.3 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.4027, allocations: 29.7 kB / 0.5656 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.83e-05/0.4028, allocations: 108.1 kB / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.4028, allocations: 27.78 kB / 0.5657 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.4029, allocations: 17.72 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.403, allocations: 330.8 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.11e-05/0.4031, allocations: 23.98 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.457e-05/0.4032, allocations: 37.64 kB / 0.5661 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.4033, allocations: 65.64 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.4033, allocations: 0 / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001909/0.4035, allocations: 101.6 kB / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.4035, allocations: 11.94 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4035, allocations: 384 / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.4035, allocations: 0 / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.051e-05/0.4036, allocations: 15.98 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.4036, allocations: 4 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.422e-05/0.4037, allocations: 8 kB / 0.5663 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.4037, allocations: 4 kB / 0.5663 GB, free: 14.42 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.0001131/0.4038, allocations: 127.1 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.4038, allocations: 19.91 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.4041, allocations: 115.2 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.4041, allocations: 3.984 kB / 0.5666 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.4041, allocations: 0 / 0.5666 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4041, allocations: 0 / 0.5666 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.4045, allocations: 366.3 kB / 0.5669 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4045, allocations: 0 / 0.5669 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-05/0.4046, allocations: 8 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4046, allocations: 8.031 kB / 0.567 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.4046, allocations: 3.984 kB / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.4046, allocations: 3.938 kB / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4046, allocations: 0 / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.4048, allocations: 216.2 kB / 0.5672 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.556e-05/0.4049, allocations: 3.953 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.4049, allocations: 8 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.4049, allocations: 7.938 kB / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.405, allocations: 7.984 kB / 0.5672 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.405, allocations: 4 kB / 0.5672 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.4051, allocations: 148.2 kB / 0.5673 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4051, allocations: 0 / 0.5673 GB, free: 13.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.4054, allocations: 27.92 kB / 0.5674 GB, free: 13.27 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 (8): * Single equations (assignments): 6 * 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.002154/0.4075, allocations: 1.075 MB / 0.5684 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.4077, allocations: 67.84 kB / 0.5685 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4077, allocations: 0 / 0.5685 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.79e-05/0.4078, allocations: 20 kB / 0.5685 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.4082, allocations: 31.09 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.4101, allocations: 1.669 MB / 0.5702 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.4104, allocations: 0.7002 MB / 0.5708 GB, free: 9.723 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.528e-05/0.4105, allocations: 20.97 kB / 0.5709 GB, free: 9.703 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.398e-05/0.4105, allocations: 35.42 kB / 0.5709 GB, free: 9.668 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4105, allocations: 0 / 0.5709 GB, free: 9.668 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03169/0.4422, allocations: 3.625 MB / 0.5744 GB, free: 6.082 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.5, allocations: 6.406 kB / 0.5744 GB, free: 6.078 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.796676912112162]