Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.001387/0.001387, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001581/0.001581, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.389/1.389, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.2261/0.2261, allocations: 46.95 MB / 360.8 MB, free: 3.898 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.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002418/0.002418, allocations: 79.88 kB / 0.4962 GB, free: 7.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3197, allocations: 66.09 MB / 0.5608 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003569/0.3233, allocations: 1.705 MB / 0.5624 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.3251, allocations: 0.9709 MB / 0.5634 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.3252, allocations: 4 kB / 0.5634 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.3255, allocations: 39.77 kB / 0.5634 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003737/0.3259, allocations: 95.59 kB / 0.5635 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.3261, allocations: 79.67 kB / 0.5636 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.3263, allocations: 115.6 kB / 0.5637 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.138e-05/0.3264, allocations: 5.828 kB / 0.5637 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.978e-05/0.3265, allocations: 39.8 kB / 0.5637 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.05e-05/0.3266, allocations: 35.77 kB / 0.5638 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.3266, allocations: 4 kB / 0.5638 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.3267, allocations: 39.98 kB / 0.5638 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.826e-05/0.3268, allocations: 27.92 kB / 0.5638 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.153e-05/0.3268, allocations: 31.8 kB / 0.5639 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.3271, allocations: 119.4 kB / 0.564 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3271, allocations: 3.984 kB / 0.564 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3271, allocations: 0 / 0.564 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.3271, allocations: 0 / 0.564 GB, free: 0.6484 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.0005308/0.3276, allocations: 345.5 kB / 0.5643 GB, free: 288 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3276, allocations: 12.03 kB / 0.5643 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.3277, allocations: 34.73 kB / 0.5644 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.3277, allocations: 12.89 kB / 0.5644 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.328, allocations: 151 kB / 0.5645 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.328, allocations: 384 / 0.5645 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.328, allocations: 4.375 kB / 0.5645 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.3282, allocations: 61.73 kB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3282, allocations: 3.984 kB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3282, allocations: 8 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3282, allocations: 4 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.773e-05/0.3283, allocations: 19.98 kB / 0.5646 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.3287, allocations: 263.9 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.3289, allocations: 58.62 kB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.946e-05/0.3289, allocations: 24.84 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.3289, allocations: 0 / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.3291, allocations: 67.39 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.3291, allocations: 0 / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005699/0.3297, allocations: 181.3 kB / 0.5652 GB, free: 15.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.3297, allocations: 55.39 kB / 0.5652 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.3299, allocations: 202.3 kB / 0.5654 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.33, allocations: 29.7 kB / 0.5655 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.637e-05/0.3301, allocations: 112.1 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.3301, allocations: 23.8 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.3301, allocations: 25.7 kB / 0.5656 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3303, allocations: 326.8 kB / 0.5659 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.449e-05/0.3304, allocations: 20 kB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.97e-05/0.3305, allocations: 41.64 kB / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.3306, allocations: 61.69 kB / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3306, allocations: 3.938 kB / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000212/0.3308, allocations: 117.6 kB / 0.5662 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3308, allocations: 4 kB / 0.5662 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3308, allocations: 0 / 0.5662 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3308, allocations: 0 / 0.5662 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.391e-05/0.3309, allocations: 19.98 kB / 0.5662 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3309, allocations: 0 / 0.5662 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.093e-05/0.331, allocations: 8 kB / 0.5662 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.331, allocations: 0 / 0.5662 GB, free: 14.19 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.00013/0.3311, allocations: 133.7 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.3311, allocations: 11.91 kB / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.3314, allocations: 127 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.3314, allocations: 4 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3314, allocations: 0 / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3314, allocations: 0 / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005056/0.3319, allocations: 370.7 kB / 0.5668 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3319, allocations: 0 / 0.5668 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-05/0.332, allocations: 15.98 kB / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.332, allocations: 0 / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.332, allocations: 4.281 kB / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.332, allocations: 3.969 kB / 0.5668 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.332, allocations: 4 kB / 0.5668 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.3323, allocations: 220.2 kB / 0.567 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.104e-05/0.3323, allocations: 7.953 kB / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.3324, allocations: 3.984 kB / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.63e-05/0.3324, allocations: 11.94 kB / 0.5671 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.3325, allocations: 7.984 kB / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.3325, allocations: 4 kB / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.3326, allocations: 148.2 kB / 0.5672 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3326, allocations: 0 / 0.5672 GB, free: 13.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.3329, allocations: 27.94 kB / 0.5672 GB, free: 13.01 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.002382/0.3353, allocations: 1.121 MB / 0.5683 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.3355, allocations: 67.84 kB / 0.5684 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3355, allocations: 4.062 kB / 0.5684 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.189e-05/0.3356, allocations: 31.92 kB / 0.5684 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.3359, allocations: 35.89 kB / 0.5685 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.338, allocations: 1.676 MB / 0.5701 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.538e-05/0.338, allocations: 92.25 kB / 0.5702 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.569e-05/0.3381, allocations: 16.97 kB / 0.5702 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.199e-05/0.3382, allocations: 35.42 kB / 0.5703 GB, free: 9.977 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3382, allocations: 0 / 0.5703 GB, free: 9.977 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0301/0.3683, allocations: 4.134 MB / 0.5743 GB, free: 5.863 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.35, allocations: 10.56 kB / 0.5743 GB, free: 5.859 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.1700956299901]