Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.001953/0.001953, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.00238/0.00238, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2498/0.2498, allocations: 46.95 MB / 361.7 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test78,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002853/0.002853, allocations: 63.91 kB / 0.4969 GB, free: 7.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3988, allocations: 66.03 MB / 0.5614 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003696/0.4025, allocations: 1.87 MB / 0.5633 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.4047, allocations: 1.077 MB / 0.5643 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.4049, allocations: 4 kB / 0.5643 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006083/0.4055, allocations: 255.3 kB / 0.5646 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005847/0.4061, allocations: 235.2 kB / 0.5648 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.4064, allocations: 111.7 kB / 0.5649 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004456/0.4068, allocations: 283.2 kB / 0.5652 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.407, allocations: 19.78 kB / 0.5652 GB, free: 380 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.4072, allocations: 139.4 kB / 0.5653 GB, free: 240 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002928/0.4075, allocations: 203.5 kB / 0.5655 GB, free: 36 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.388e-05/0.4075, allocations: 8 kB / 0.5655 GB, free: 28 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.4077, allocations: 71.91 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.4079, allocations: 71.69 kB / 0.5656 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.408, allocations: 67.47 kB / 0.5657 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004409/0.4084, allocations: 266.7 kB / 0.566 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.4084, allocations: 0 / 0.566 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4084, allocations: 0 / 0.566 GB, free: 15.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.4084, allocations: 0 / 0.566 GB, free: 15.56 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009959/0.4094, allocations: 0.5196 MB / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.4095, allocations: 8.031 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.762e-05/0.4095, allocations: 8.188 kB / 0.5665 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/0.4096, allocations: 38.73 kB / 0.5665 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.617e-05/0.4096, allocations: 32.75 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/0.4101, allocations: 232.8 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.4102, allocations: 8.125 kB / 0.5668 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.4102, allocations: 8 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.4105, allocations: 122.2 kB / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.4105, allocations: 0 / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.4105, allocations: 0 / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.4105, allocations: 4 kB / 0.5669 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.4107, allocations: 55.91 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007547/0.4114, allocations: 444 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/0.4119, allocations: 121.2 kB / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.412, allocations: 41.83 kB / 0.5675 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.412, allocations: 7.984 kB / 0.5676 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003103/0.4123, allocations: 125 kB / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.4123, allocations: 4 kB / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.00159/0.4139, allocations: 0.528 MB / 0.5682 GB, free: 13.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/0.414, allocations: 89.05 kB / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006209/0.4146, allocations: 0.4977 MB / 0.5688 GB, free: 12.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.4147, allocations: 37.64 kB / 0.5688 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.4148, allocations: 168.5 kB / 0.569 GB, free: 12.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.948e-05/0.4149, allocations: 79.41 kB / 0.569 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.473e-05/0.415, allocations: 41.7 kB / 0.5691 GB, free: 12.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.4152, allocations: 346.8 kB / 0.5694 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.4153, allocations: 59.97 kB / 0.5695 GB, free: 11.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.4155, allocations: 99.33 kB / 0.5696 GB, free: 11.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.4158, allocations: 163.5 kB / 0.5697 GB, free: 11.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4158, allocations: 0 / 0.5697 GB, free: 11.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004575/0.4163, allocations: 245.2 kB / 0.5699 GB, free: 11.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.4163, allocations: 12.06 kB / 0.57 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4163, allocations: 0 / 0.57 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.4163, allocations: 3.938 kB / 0.57 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.4165, allocations: 43.92 kB / 0.57 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.4165, allocations: 4 kB / 0.57 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.873e-05/0.4166, allocations: 11.98 kB / 0.57 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.4166, allocations: 8 kB / 0.57 GB, free: 11.14 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000218/0.4168, allocations: 174.3 kB / 0.5702 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.338e-05/0.4169, allocations: 39.7 kB / 0.5702 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006498/0.4175, allocations: 293.2 kB / 0.5705 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4175, allocations: 4 kB / 0.5705 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.4175, allocations: 0 / 0.5705 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.4175, allocations: 4 kB / 0.5705 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.4187, allocations: 0.7107 MB / 0.5712 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.4187, allocations: 4 kB / 0.5712 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.495e-05/0.4188, allocations: 27.98 kB / 0.5712 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.4188, allocations: 8.125 kB / 0.5712 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.4188, allocations: 8 kB / 0.5713 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.4188, allocations: 8.125 kB / 0.5713 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.4188, allocations: 7.938 kB / 0.5713 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005845/0.4194, allocations: 451.4 kB / 0.5717 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.4195, allocations: 27.8 kB / 0.5717 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.657e-05/0.4195, allocations: 8 kB / 0.5717 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.4196, allocations: 15.88 kB / 0.5718 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.4197, allocations: 15.97 kB / 0.5718 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.275e-05/0.4197, allocations: 23.98 kB / 0.5718 GB, free: 9.223 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004195/0.4202, allocations: 375.1 kB / 0.5721 GB, free: 8.855 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4202, allocations: 0 / 0.5721 GB, free: 8.855 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003877/0.4205, allocations: 55.92 kB / 0.5722 GB, free: 8.801 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002983/0.4235, allocations: 1.429 MB / 0.5736 GB, free: 7.586 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000427/0.424, allocations: 159.8 kB / 0.5737 GB, free: 7.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.424, allocations: 4.125 kB / 0.5738 GB, free: 7.426 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.4242, allocations: 79.84 kB / 0.5738 GB, free: 7.348 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006375/0.4248, allocations: 64.39 kB / 0.5739 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004302/0.4291, allocations: 3.026 MB / 0.5768 GB, free: 4.141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.4293, allocations: 186.2 kB / 0.577 GB, free: 3.938 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000144/0.4295, allocations: 53.89 kB / 0.5771 GB, free: 3.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.4296, allocations: 95.41 kB / 0.5772 GB, free: 3.793 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4296, allocations: 0 / 0.5772 GB, free: 3.793 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.459, allocations: 7.198 MB / 0.5842 GB, free: 12.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.28, allocations: 8.141 kB / 0.5842 GB, free: 12.69 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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: 15.533368901000358]