Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.001811/0.001811, 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.002326/0.002326, allocations: 214.3 kB / 23.75 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.478/1.478, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2445/0.2445, allocations: 46.93 MB / 360.8 MB, free: 4.277 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.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 75.88 kB / 0.4963 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3859, allocations: 66.09 MB / 0.5608 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003276/0.3892, allocations: 1.741 MB / 0.5625 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.391, allocations: 1.053 MB / 0.5635 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.355e-05/0.3911, allocations: 3.938 kB / 0.5635 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.3914, allocations: 35.78 kB / 0.5636 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.3917, allocations: 91.55 kB / 0.5637 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.3919, allocations: 83.66 kB / 0.5637 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.3921, allocations: 103.8 kB / 0.5638 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3922, allocations: 5.828 kB / 0.5638 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.3923, allocations: 51.7 kB / 0.5639 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.431e-05/0.3924, allocations: 39.8 kB / 0.5639 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.3924, allocations: 4 kB / 0.5639 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.395e-05/0.3925, allocations: 39.98 kB / 0.564 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.3925, allocations: 23.91 kB / 0.564 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.634e-05/0.3926, allocations: 31.75 kB / 0.564 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.3928, allocations: 123.4 kB / 0.5641 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3928, allocations: 3.984 kB / 0.5641 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3928, allocations: 0 / 0.5641 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.3928, allocations: 0 / 0.5641 GB, free: 0.8398 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.0005982/0.3934, allocations: 341.6 kB / 0.5645 GB, free: 488 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3935, allocations: 12.03 kB / 0.5645 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.215e-05/0.3935, allocations: 38.67 kB / 0.5645 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.3935, allocations: 12.84 kB / 0.5645 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.3938, allocations: 151.7 kB / 0.5647 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.3939, allocations: 8.359 kB / 0.5647 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.3939, allocations: 384 / 0.5647 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.394, allocations: 57.8 kB / 0.5647 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.394, allocations: 3.938 kB / 0.5647 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3941, allocations: 4 kB / 0.5647 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3941, allocations: 4 kB / 0.5647 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.953e-05/0.3941, allocations: 15.98 kB / 0.5648 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.3945, allocations: 256 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.3947, allocations: 58.61 kB / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.275e-05/0.3948, allocations: 20.86 kB / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.3948, allocations: 0 / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.395, allocations: 71.38 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.395, allocations: 0 / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006986/0.3957, allocations: 173.3 kB / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.3957, allocations: 51.41 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.3959, allocations: 187.3 kB / 0.5655 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.396, allocations: 25.7 kB / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/0.396, allocations: 108.1 kB / 0.5657 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.3961, allocations: 23.78 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.3961, allocations: 29.7 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3963, allocations: 326.8 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.934e-05/0.3964, allocations: 19.98 kB / 0.5661 GB, free: 14.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-05/0.3964, allocations: 37.66 kB / 0.5661 GB, free: 14.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.3965, allocations: 57.7 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3965, allocations: 384 / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002027/0.3968, allocations: 109.5 kB / 0.5662 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3968, allocations: 4 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3968, allocations: 192 / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.3968, allocations: 4 kB / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.131e-05/0.3969, allocations: 19.94 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/0.3969, allocations: 4.031 kB / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.116e-05/0.3969, allocations: 11.92 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.397, allocations: 0 / 0.5663 GB, free: 14.43 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.0001942/0.3972, allocations: 125.8 kB / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.3972, allocations: 15.89 kB / 0.5664 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.3974, allocations: 123.1 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3974, allocations: 0 / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3974, allocations: 0 / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3974, allocations: 0 / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004757/0.3979, allocations: 370.3 kB / 0.5669 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3979, allocations: 0 / 0.5669 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.398, allocations: 8 kB / 0.5669 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.398, allocations: 0 / 0.5669 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.398, allocations: 4 kB / 0.5669 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.398, allocations: 3.938 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.398, allocations: 0 / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.3982, allocations: 208.3 kB / 0.5671 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.3982, allocations: 15.89 kB / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.3983, allocations: 4 kB / 0.5671 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.3984, allocations: 3.938 kB / 0.5671 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.3984, allocations: 11.98 kB / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.3984, allocations: 4 kB / 0.5671 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.3986, allocations: 136.9 kB / 0.5673 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3986, allocations: 4 kB / 0.5673 GB, free: 13.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000268/0.3988, allocations: 27.94 kB / 0.5673 GB, free: 13.29 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.002241/0.4011, allocations: 1.077 MB / 0.5684 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.4013, allocations: 63.83 kB / 0.5684 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4013, allocations: 0 / 0.5684 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.829e-05/0.4014, allocations: 28.14 kB / 0.5684 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.4017, allocations: 28.25 kB / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.4038, allocations: 1.65 MB / 0.5701 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.4041, allocations: 0.7002 MB / 0.5708 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.54e-05/0.4042, allocations: 16.97 kB / 0.5708 GB, free: 9.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.4043, allocations: 35.42 kB / 0.5708 GB, free: 9.715 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4043, allocations: 0 / 0.5708 GB, free: 9.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03118/0.4354, allocations: 3.575 MB / 0.5743 GB, free: 6.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.4, allocations: 6.328 kB / 0.5743 GB, free: 6.176 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.507038059877232]