Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2413/0.2413, allocations: 44.91 MB / 358.8 MB, free: 6.281 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003291/0.003291, allocations: 63.91 kB / 0.4932 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4085, allocations: 65.47 MB / 0.5571 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003703/0.4123, allocations: 1.751 MB / 0.5588 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.4141, allocations: 1.045 MB / 0.5598 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.962e-05/0.4142, allocations: 0 / 0.5598 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.4145, allocations: 91.67 kB / 0.5599 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003315/0.4149, allocations: 119.5 kB / 0.56 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.4151, allocations: 75.69 kB / 0.5601 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.4153, allocations: 119.7 kB / 0.5602 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.775e-05/0.4154, allocations: 5.828 kB / 0.5602 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.4155, allocations: 67.69 kB / 0.5603 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.4156, allocations: 51.83 kB / 0.5603 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.4156, allocations: 4 kB / 0.5603 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.4157, allocations: 47.97 kB / 0.5604 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.118e-05/0.4158, allocations: 23.92 kB / 0.5604 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.994e-05/0.4159, allocations: 47.61 kB / 0.5604 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.4161, allocations: 123.5 kB / 0.5606 GB, free: 4.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4161, allocations: 0 / 0.5606 GB, free: 4.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4161, allocations: 0 / 0.5606 GB, free: 4.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.4161, allocations: 0 / 0.5606 GB, free: 4.203 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.0005857/0.4167, allocations: 357.4 kB / 0.5609 GB, free: 3.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.4167, allocations: 12.03 kB / 0.5609 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.4168, allocations: 34.73 kB / 0.5609 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.4168, allocations: 12.84 kB / 0.561 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.4171, allocations: 166.7 kB / 0.5611 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.4171, allocations: 4.375 kB / 0.5611 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.4171, allocations: 3.938 kB / 0.5611 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.4173, allocations: 61.67 kB / 0.5612 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.4173, allocations: 0 / 0.5612 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.4173, allocations: 0 / 0.5612 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.4173, allocations: 0 / 0.5612 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.444e-05/0.4174, allocations: 19.98 kB / 0.5612 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.4178, allocations: 268 kB / 0.5615 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.4179, allocations: 58.61 kB / 0.5615 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.404e-05/0.418, allocations: 20.84 kB / 0.5615 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.418, allocations: 0 / 0.5615 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.4182, allocations: 67.39 kB / 0.5616 GB, free: 3.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.4182, allocations: 4 kB / 0.5616 GB, free: 3 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005615/0.4187, allocations: 177.3 kB / 0.5618 GB, free: 2.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.4188, allocations: 51.41 kB / 0.5618 GB, free: 2.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.419, allocations: 231.4 kB / 0.562 GB, free: 2.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.419, allocations: 25.7 kB / 0.5621 GB, free: 2.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.302e-05/0.4191, allocations: 104.1 kB / 0.5622 GB, free: 2.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.4192, allocations: 31.72 kB / 0.5622 GB, free: 2.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.4192, allocations: 25.59 kB / 0.5622 GB, free: 2.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.4194, allocations: 334.8 kB / 0.5625 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.4194, allocations: 20 kB / 0.5626 GB, free: 1.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.552e-05/0.4195, allocations: 33.7 kB / 0.5626 GB, free: 1.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.4196, allocations: 57.7 kB / 0.5626 GB, free: 1.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4196, allocations: 0 / 0.5626 GB, free: 1.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001935/0.4198, allocations: 109.5 kB / 0.5628 GB, free: 1.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.4198, allocations: 8 kB / 0.5628 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4198, allocations: 0 / 0.5628 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.4198, allocations: 3.984 kB / 0.5628 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.785e-05/0.4199, allocations: 16 kB / 0.5628 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.4199, allocations: 3.938 kB / 0.5628 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.499e-05/0.42, allocations: 3.938 kB / 0.5628 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.42, allocations: 4 kB / 0.5628 GB, free: 1.703 MB / 398.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.000115/0.4201, allocations: 133.8 kB / 0.5629 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.4201, allocations: 15.91 kB / 0.5629 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.4204, allocations: 119.2 kB / 0.563 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4204, allocations: 0 / 0.563 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.4204, allocations: 384 / 0.563 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.4204, allocations: 3.938 kB / 0.5631 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004874/0.4209, allocations: 370.4 kB / 0.5634 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4209, allocations: 4 kB / 0.5634 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.4209, allocations: 11.94 kB / 0.5634 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.4209, allocations: 7.969 kB / 0.5634 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.4209, allocations: 4 kB / 0.5634 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.421, allocations: 3.984 kB / 0.5634 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.421, allocations: 3.984 kB / 0.5634 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.4212, allocations: 200.3 kB / 0.5636 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.821e-05/0.4212, allocations: 7.953 kB / 0.5636 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.4212, allocations: 11.94 kB / 0.5636 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.64e-05/0.4213, allocations: 4 kB / 0.5637 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.4214, allocations: 11.92 kB / 0.5637 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.4214, allocations: 7.938 kB / 0.5637 GB, free: 0.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.4215, allocations: 169.2 kB / 0.5638 GB, free: 0.543 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4215, allocations: 0 / 0.5638 GB, free: 0.543 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.4218, allocations: 27.89 kB / 0.5639 GB, free: 0.5156 MB / 398.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.002201/0.424, allocations: 1.086 MB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.4242, allocations: 63.91 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4242, allocations: 0 / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.073e-05/0.4242, allocations: 27.92 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.4246, allocations: 39.38 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.4266, allocations: 1.72 MB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.427, allocations: 0.7118 MB / 0.5674 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.176e-05/0.427, allocations: 12.97 kB / 0.5674 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.49e-05/0.4271, allocations: 39.42 kB / 0.5675 GB, free: 12.87 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4271, allocations: 0 / 0.5675 GB, free: 12.87 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.4568, allocations: 3.749 MB / 0.5711 GB, free: 9.184 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.34, allocations: 0 / 0.5711 GB, free: 9.184 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.402974190888926]