Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001372/0.001372, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002155/0.002155, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.552/1.552, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2337/0.2337, allocations: 46.95 MB / 360.9 MB, free: 4.047 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.Test77,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003258/0.003258, allocations: 71.88 kB / 0.4962 GB, free: 7.652 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.323, allocations: 66.03 MB / 0.5607 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.00331/0.3263, allocations: 1.874 MB / 0.5625 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.3282, allocations: 1.065 MB / 0.5635 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.22e-05/0.3283, allocations: 0 / 0.5635 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003866/0.3286, allocations: 167.4 kB / 0.5637 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004478/0.3291, allocations: 195.2 kB / 0.5639 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.3293, allocations: 119.7 kB / 0.564 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003196/0.3297, allocations: 243.3 kB / 0.5642 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.3298, allocations: 23.78 kB / 0.5642 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.3299, allocations: 115.5 kB / 0.5644 GB, free: 420 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.3301, allocations: 143.5 kB / 0.5645 GB, free: 276 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.3302, allocations: 8 kB / 0.5645 GB, free: 268 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.3303, allocations: 67.91 kB / 0.5646 GB, free: 200 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.841e-05/0.3304, allocations: 59.77 kB / 0.5646 GB, free: 140 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.507e-05/0.3304, allocations: 63.53 kB / 0.5647 GB, free: 76 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.3308, allocations: 227 kB / 0.5649 GB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3308, allocations: 0 / 0.5649 GB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3308, allocations: 0 / 0.5649 GB, free: 15.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.3308, allocations: 0 / 0.5649 GB, free: 15.85 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.0007696/0.3316, allocations: 484.5 kB / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3316, allocations: 12.03 kB / 0.5654 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/0.3317, allocations: 34.75 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/0.3317, allocations: 32.73 kB / 0.5654 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.3321, allocations: 214.4 kB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.3321, allocations: 4.375 kB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.3321, allocations: 11.94 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.3324, allocations: 118.2 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3324, allocations: 3.938 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.3324, allocations: 0 / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3324, allocations: 4 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.3326, allocations: 59.88 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006016/0.3332, allocations: 423.9 kB / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/0.3336, allocations: 125.2 kB / 0.5664 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.3337, allocations: 41.81 kB / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.3337, allocations: 4 kB / 0.5664 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002542/0.3339, allocations: 129 kB / 0.5665 GB, free: 14.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.432e-06/0.3339, allocations: 0 / 0.5665 GB, free: 14.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001368/0.3353, allocations: 0.5132 MB / 0.567 GB, free: 13.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.154e-05/0.3354, allocations: 81.11 kB / 0.5671 GB, free: 13.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.3358, allocations: 376.5 kB / 0.5675 GB, free: 13.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.3358, allocations: 37.64 kB / 0.5675 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.3359, allocations: 144.5 kB / 0.5676 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.124e-05/0.336, allocations: 83.36 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.996e-05/0.3361, allocations: 41.7 kB / 0.5678 GB, free: 12.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3362, allocations: 338.8 kB / 0.5681 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.3364, allocations: 59.97 kB / 0.5681 GB, free: 12.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.3365, allocations: 99.33 kB / 0.5682 GB, free: 12.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.3369, allocations: 163.3 kB / 0.5684 GB, free: 12.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3369, allocations: 0 / 0.5684 GB, free: 12.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004367/0.3373, allocations: 233.6 kB / 0.5686 GB, free: 11.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3373, allocations: 7.984 kB / 0.5686 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3373, allocations: 4 kB / 0.5686 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.3373, allocations: 0 / 0.5686 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.3375, allocations: 51.98 kB / 0.5687 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3375, allocations: 0 / 0.5687 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.638e-05/0.3376, allocations: 7.984 kB / 0.5687 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.3376, allocations: 12 kB / 0.5687 GB, free: 11.71 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.0001597/0.3378, allocations: 158.2 kB / 0.5688 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.3378, allocations: 35.75 kB / 0.5689 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000565/0.3384, allocations: 279.6 kB / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.3384, allocations: 7.984 kB / 0.5692 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3384, allocations: 0 / 0.5692 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3384, allocations: 4 kB / 0.5692 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009779/0.3394, allocations: 0.699 MB / 0.5698 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.3394, allocations: 4 kB / 0.5698 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.416e-05/0.3395, allocations: 27.98 kB / 0.5699 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3395, allocations: 4 kB / 0.5699 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.3395, allocations: 8 kB / 0.5699 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.3395, allocations: 7.938 kB / 0.5699 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.3395, allocations: 8.062 kB / 0.5699 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/0.34, allocations: 439.5 kB / 0.5703 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.3401, allocations: 23.84 kB / 0.5703 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.3401, allocations: 8.188 kB / 0.5703 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.3403, allocations: 15.88 kB / 0.5704 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.3403, allocations: 19.91 kB / 0.5704 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.3404, allocations: 23.98 kB / 0.5704 GB, free: 9.855 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003097/0.3407, allocations: 279 kB / 0.5707 GB, free: 9.582 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3407, allocations: 0 / 0.5707 GB, free: 9.582 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003766/0.341, allocations: 55.88 kB / 0.5707 GB, free: 9.527 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.002935/0.344, allocations: 1.424 MB / 0.5721 GB, free: 8.312 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004003/0.3444, allocations: 155.8 kB / 0.5723 GB, free: 8.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3444, allocations: 0 / 0.5723 GB, free: 8.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.3446, allocations: 76.16 kB / 0.5723 GB, free: 8.086 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005936/0.3452, allocations: 77.48 kB / 0.5724 GB, free: 8.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.3487, allocations: 2.74 MB / 0.5751 GB, free: 5.156 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.3489, allocations: 157.3 kB / 0.5752 GB, free: 4.977 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.349, allocations: 33.94 kB / 0.5753 GB, free: 4.945 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.3492, allocations: 99.39 kB / 0.5754 GB, free: 4.848 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3492, allocations: 0 / 0.5754 GB, free: 4.848 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/0.3823, allocations: 6.981 MB / 0.5822 GB, free: 13.94 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.23, allocations: 4 kB / 0.5822 GB, free: 13.94 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.278664176992606]