Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.001427/0.001427, allocations: 114 kB / 20.44 MB, free: 1.469 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.001741/0.001741, allocations: 213.4 kB / 23.74 MB, free: 4.695 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.493/1.493, allocations: 230.5 MB / 257.4 MB, free: 8.023 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.2476/0.2476, allocations: 46.92 MB / 360.8 MB, free: 4.215 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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002477/0.002477, allocations: 80.16 kB / 0.4963 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3267, allocations: 66.08 MB / 0.5608 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003293/0.33, allocations: 1.745 MB / 0.5625 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.3319, allocations: 1.041 MB / 0.5635 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.52e-05/0.332, allocations: 7.938 kB / 0.5635 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003385/0.3323, allocations: 35.77 kB / 0.5636 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003461/0.3327, allocations: 103.5 kB / 0.5637 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.3329, allocations: 79.73 kB / 0.5637 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.3331, allocations: 111.7 kB / 0.5638 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.3332, allocations: 5.828 kB / 0.5639 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.3333, allocations: 43.73 kB / 0.5639 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.156e-05/0.3334, allocations: 39.83 kB / 0.5639 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.3334, allocations: 4 kB / 0.5639 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.785e-05/0.3335, allocations: 43.92 kB / 0.564 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/0.3336, allocations: 19.92 kB / 0.564 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.692e-05/0.3337, allocations: 35.73 kB / 0.564 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.3339, allocations: 119.5 kB / 0.5641 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3339, allocations: 7.938 kB / 0.5642 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3339, allocations: 0 / 0.5642 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.3339, allocations: 0 / 0.5642 GB, free: 0.8438 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.0005803/0.3345, allocations: 345.6 kB / 0.5645 GB, free: 488 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3345, allocations: 11.97 kB / 0.5645 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.333e-05/0.3346, allocations: 34.75 kB / 0.5645 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.3346, allocations: 12.88 kB / 0.5645 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.3349, allocations: 158.9 kB / 0.5647 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3349, allocations: 384 / 0.5647 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.335, allocations: 8.375 kB / 0.5647 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.3351, allocations: 57.8 kB / 0.5648 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3351, allocations: 0 / 0.5648 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.3351, allocations: 0 / 0.5648 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3351, allocations: 0 / 0.5648 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.034e-05/0.3352, allocations: 27.92 kB / 0.5648 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.3357, allocations: 256 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.3358, allocations: 54.67 kB / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.356e-05/0.3359, allocations: 16.86 kB / 0.5651 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.3359, allocations: 0 / 0.5651 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.3361, allocations: 75.31 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3361, allocations: 0 / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005748/0.3367, allocations: 185.3 kB / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.3367, allocations: 51.41 kB / 0.5654 GB, free: 15.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.3369, allocations: 198.3 kB / 0.5656 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.3369, allocations: 29.7 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.788e-05/0.337, allocations: 104.1 kB / 0.5657 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.337, allocations: 27.78 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.3371, allocations: 21.72 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3373, allocations: 334.8 kB / 0.5661 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.709e-05/0.3373, allocations: 19.98 kB / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.988e-05/0.3374, allocations: 37.64 kB / 0.5661 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.3375, allocations: 65.62 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3375, allocations: 4.375 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001858/0.3377, allocations: 93.59 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3377, allocations: 8.031 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.3377, allocations: 4 kB / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3378, allocations: 7.938 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.55e-05/0.3379, allocations: 15.98 kB / 0.5663 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3379, allocations: 0 / 0.5663 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.3379, allocations: 8 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.3379, allocations: 4 kB / 0.5663 GB, free: 14.41 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.0001165/0.338, allocations: 129.3 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.3381, allocations: 15.91 kB / 0.5665 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.3383, allocations: 119 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.3383, allocations: 0 / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.3383, allocations: 0 / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3383, allocations: 3.984 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004664/0.3388, allocations: 366.3 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3388, allocations: 0 / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.3388, allocations: 11.98 kB / 0.5669 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3388, allocations: 0 / 0.5669 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3388, allocations: 12.03 kB / 0.567 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3389, allocations: 3.938 kB / 0.567 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3389, allocations: 0 / 0.567 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.3391, allocations: 212.5 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.3391, allocations: 7.953 kB / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.3392, allocations: 8 kB / 0.5672 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.529e-05/0.3392, allocations: 11.92 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.3393, allocations: 4 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.3393, allocations: 7.984 kB / 0.5672 GB, free: 13.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.3394, allocations: 144.2 kB / 0.5673 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3394, allocations: 0 / 0.5673 GB, free: 13.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.3397, allocations: 27.92 kB / 0.5674 GB, free: 13.25 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.002304/0.342, allocations: 1.08 MB / 0.5684 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.3422, allocations: 59.91 kB / 0.5685 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3423, allocations: 0 / 0.5685 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.3424, allocations: 27.92 kB / 0.5685 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.3427, allocations: 27.98 kB / 0.5685 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.3448, allocations: 1.662 MB / 0.5702 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.3453, allocations: 0.7041 MB / 0.5708 GB, free: 9.707 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.138e-05/0.3453, allocations: 17.27 kB / 0.5709 GB, free: 9.691 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.409e-05/0.3454, allocations: 39.42 kB / 0.5709 GB, free: 9.652 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3454, allocations: 0 / 0.5709 GB, free: 9.652 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03165/0.3771, allocations: 3.619 MB / 0.5744 GB, free: 6.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.46, allocations: 6.172 kB / 0.5744 GB, free: 6.066 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.52220965293236]