Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001284/0.001284, 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.001396/0.001396, 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.499/1.499, allocations: 230.6 MB / 257.5 MB, free: 8 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.2262/0.2262, allocations: 46.92 MB / 360.9 MB, free: 4.262 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.Test70,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.91 kB / 0.4962 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3325, allocations: 66.03 MB / 0.5607 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003309/0.3358, allocations: 1.85 MB / 0.5625 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.3378, allocations: 1.116 MB / 0.5636 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.991e-05/0.3379, allocations: 3.938 kB / 0.5636 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005303/0.3384, allocations: 307.3 kB / 0.5639 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005273/0.339, allocations: 255.2 kB / 0.5641 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.3392, allocations: 111.7 kB / 0.5642 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003815/0.3396, allocations: 271.2 kB / 0.5645 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.432e-05/0.3397, allocations: 9.797 kB / 0.5645 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.3399, allocations: 135.5 kB / 0.5646 GB, free: 400 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003069/0.3402, allocations: 219.4 kB / 0.5649 GB, free: 180 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.3403, allocations: 11.94 kB / 0.5649 GB, free: 168 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.3404, allocations: 51.97 kB / 0.5649 GB, free: 116 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.3406, allocations: 139.6 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.3407, allocations: 146.8 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004789/0.3412, allocations: 376 kB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3412, allocations: 0 / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3412, allocations: 0 / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3412, allocations: 4 kB / 0.5655 GB, free: 15.46 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001067/0.3423, allocations: 0.6902 MB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3423, allocations: 8.031 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.3423, allocations: 38.69 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.113e-05/0.3424, allocations: 52.61 kB / 0.5663 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006934/0.3431, allocations: 398.5 kB / 0.5667 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.3431, allocations: 384 / 0.5667 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.3432, allocations: 11.94 kB / 0.5667 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.3434, allocations: 87.36 kB / 0.5668 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.3434, allocations: 0 / 0.5668 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3434, allocations: 0 / 0.5668 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.3434, allocations: 4 kB / 0.5668 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.3435, allocations: 35.91 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.3439, allocations: 349.4 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.3442, allocations: 113.1 kB / 0.5673 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.333e-05/0.3443, allocations: 37.7 kB / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.3443, allocations: 0 / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002399/0.3446, allocations: 120.9 kB / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 9.12e-07/0.3446, allocations: 0 / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004837/0.3451, allocations: 197.7 kB / 0.5676 GB, free: 13.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.3451, allocations: 77.11 kB / 0.5677 GB, free: 13.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.3463, allocations: 1.061 MB / 0.5687 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.3463, allocations: 29.7 kB / 0.5687 GB, free: 11.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.3465, allocations: 236.1 kB / 0.569 GB, free: 11.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.851e-05/0.3466, allocations: 27.81 kB / 0.569 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.3466, allocations: 29.7 kB / 0.569 GB, free: 11.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002383/0.3469, allocations: 366.8 kB / 0.5694 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.271e-05/0.347, allocations: 35.92 kB / 0.5694 GB, free: 11.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.3471, allocations: 63.41 kB / 0.5695 GB, free: 11.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.3473, allocations: 87.42 kB / 0.5696 GB, free: 11.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.3473, allocations: 7.938 kB / 0.5696 GB, free: 11.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003255/0.3476, allocations: 169.3 kB / 0.5697 GB, free: 10.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3476, allocations: 8 kB / 0.5697 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3476, allocations: 4 kB / 0.5697 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3476, allocations: 0 / 0.5697 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.3478, allocations: 27.92 kB / 0.5698 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.3478, allocations: 0 / 0.5698 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.852e-05/0.3479, allocations: 11.94 kB / 0.5698 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.3479, allocations: 4 kB / 0.5698 GB, free: 10.87 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002288/0.3481, allocations: 229.6 kB / 0.57 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.3482, allocations: 59.62 kB / 0.5701 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000387/0.3486, allocations: 189.9 kB / 0.5702 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3486, allocations: 7.938 kB / 0.5702 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3486, allocations: 256 / 0.5702 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3486, allocations: 3.984 kB / 0.5702 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.3489, allocations: 328.5 kB / 0.5706 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3489, allocations: 0 / 0.5706 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.3489, allocations: 8 kB / 0.5706 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.3489, allocations: 4 kB / 0.5706 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.349, allocations: 7.984 kB / 0.5706 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.349, allocations: 0 / 0.5706 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.349, allocations: 4 kB / 0.5706 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.3493, allocations: 217.4 kB / 0.5708 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.3494, allocations: 63.59 kB / 0.5709 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/0.3495, allocations: 8 kB / 0.5709 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.66e-05/0.3496, allocations: 11.98 kB / 0.5709 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.3496, allocations: 11.98 kB / 0.5709 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.3496, allocations: 7.938 kB / 0.5709 GB, free: 9.645 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008654/0.3505, allocations: 0.78 MB / 0.5717 GB, free: 8.867 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3505, allocations: 0 / 0.5717 GB, free: 8.867 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.3508, allocations: 44 kB / 0.5717 GB, free: 8.824 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002138/0.3529, allocations: 1.062 MB / 0.5727 GB, free: 7.891 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002705/0.3532, allocations: 83.89 kB / 0.5728 GB, free: 7.809 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3532, allocations: 0 / 0.5728 GB, free: 7.809 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.3533, allocations: 39.92 kB / 0.5728 GB, free: 7.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.3537, allocations: 81.58 kB / 0.5729 GB, free: 7.691 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006049/0.3598, allocations: 4.563 MB / 0.5774 GB, free: 3.023 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/0.3603, allocations: 0.8544 MB / 0.5782 GB, free: 2.145 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001766/0.3605, allocations: 63.44 kB / 0.5783 GB, free: 2.078 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.3607, allocations: 151.4 kB / 0.5784 GB, free: 1.934 MB / 414.1 MB Notification: Performance of SimCode: time 1.573e-06/0.3607, allocations: 0 / 0.5784 GB, free: 1.934 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/0.3984, allocations: 9.379 MB / 0.5876 GB, free: 8.641 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.12, allocations: 9.234 kB / 0.5876 GB, free: 8.637 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.233824467002705]