Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.00163/0.00163, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.002114/0.002114, allocations: 204.3 kB / 23.72 MB, free: 4.418 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2265/0.2265, allocations: 44.95 MB / 358.8 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 180] 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.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",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.002358/0.002358, allocations: 63.91 kB / 0.4931 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3031, allocations: 65.48 MB / 0.557 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.004027/0.3071, allocations: 1.726 MB / 0.5587 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.309, allocations: 0.9677 MB / 0.5597 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.3091, allocations: 4 kB / 0.5597 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000348/0.3095, allocations: 55.67 kB / 0.5597 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004078/0.3099, allocations: 103.5 kB / 0.5598 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.3102, allocations: 83.66 kB / 0.5599 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.3104, allocations: 127.7 kB / 0.56 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3105, allocations: 17.8 kB / 0.56 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.3106, allocations: 51.78 kB / 0.5601 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.3108, allocations: 59.75 kB / 0.5602 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.3108, allocations: 8 kB / 0.5602 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.3109, allocations: 59.92 kB / 0.5602 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.925e-05/0.311, allocations: 31.89 kB / 0.5602 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.773e-05/0.311, allocations: 31.81 kB / 0.5603 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.3113, allocations: 147.4 kB / 0.5604 GB, free: 4.027 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3113, allocations: 3.984 kB / 0.5604 GB, free: 4.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3113, allocations: 0 / 0.5604 GB, free: 4.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.3113, allocations: 3.938 kB / 0.5604 GB, free: 4.02 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006161/0.3119, allocations: 371.7 kB / 0.5608 GB, free: 3.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.312, allocations: 12.03 kB / 0.5608 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.304e-05/0.312, allocations: 38.75 kB / 0.5608 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.3121, allocations: 16.83 kB / 0.5608 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.3124, allocations: 158.3 kB / 0.561 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.3124, allocations: 4.375 kB / 0.561 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.3125, allocations: 7.938 kB / 0.561 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.3127, allocations: 85.58 kB / 0.5611 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3127, allocations: 0 / 0.5611 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3127, allocations: 0 / 0.5611 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3127, allocations: 0 / 0.5611 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.3128, allocations: 51.95 kB / 0.5611 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.3134, allocations: 303.8 kB / 0.5614 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.3137, allocations: 82.53 kB / 0.5615 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.323e-05/0.3138, allocations: 32.84 kB / 0.5615 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.3138, allocations: 0 / 0.5615 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.314, allocations: 95.33 kB / 0.5616 GB, free: 2.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.314, allocations: 0 / 0.5616 GB, free: 2.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008982/0.3149, allocations: 309.2 kB / 0.5619 GB, free: 2.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.3149, allocations: 67.33 kB / 0.562 GB, free: 2.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.3151, allocations: 210.7 kB / 0.5622 GB, free: 2.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.3152, allocations: 29.7 kB / 0.5622 GB, free: 2.012 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.3152, allocations: 112.3 kB / 0.5623 GB, free: 1.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.3153, allocations: 39.8 kB / 0.5624 GB, free: 1.859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.284e-05/0.3153, allocations: 33.7 kB / 0.5624 GB, free: 1.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3155, allocations: 326.8 kB / 0.5627 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.119e-05/0.3156, allocations: 35.98 kB / 0.5627 GB, free: 1.457 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.3157, allocations: 64.5 kB / 0.5628 GB, free: 1.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.3159, allocations: 113.6 kB / 0.5629 GB, free: 1.273 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3159, allocations: 0 / 0.5629 GB, free: 1.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002913/0.3162, allocations: 165 kB / 0.5631 GB, free: 1.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3162, allocations: 4 kB / 0.5631 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.3162, allocations: 3.984 kB / 0.5631 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3162, allocations: 4 kB / 0.5631 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3163, allocations: 27.88 kB / 0.5631 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3163, allocations: 3.984 kB / 0.5631 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.001e-05/0.3164, allocations: 4 kB / 0.5631 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.3164, allocations: 12.03 kB / 0.5631 GB, free: 1.051 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 (15): * Single equations (assignments): 15 * 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.0001188/0.3165, allocations: 129.8 kB / 0.5633 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.3165, allocations: 16.75 kB / 0.5633 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004084/0.3169, allocations: 191 kB / 0.5634 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-06/0.317, allocations: 7.938 kB / 0.5635 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.317, allocations: 0 / 0.5635 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.317, allocations: 3.984 kB / 0.5635 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00068/0.3176, allocations: 479.1 kB / 0.5639 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3176, allocations: 4.062 kB / 0.5639 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.468e-05/0.3177, allocations: 31.92 kB / 0.564 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3177, allocations: 0 / 0.564 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.3178, allocations: 11.94 kB / 0.564 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3178, allocations: 0 / 0.564 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3178, allocations: 4 kB / 0.564 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003977/0.3182, allocations: 280 kB / 0.5642 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.875e-05/0.3182, allocations: 19.91 kB / 0.5643 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.3182, allocations: 3.984 kB / 0.5643 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.584e-05/0.3183, allocations: 8 kB / 0.5643 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.3183, allocations: 19.86 kB / 0.5643 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.3184, allocations: 11.98 kB / 0.5643 GB, free: 15.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001585/0.3185, allocations: 155.2 kB / 0.5644 GB, free: 15.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3185, allocations: 0 / 0.5644 GB, free: 15.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.3188, allocations: 31.94 kB / 0.5645 GB, free: 15.58 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002683/0.3215, allocations: 1.258 MB / 0.5657 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002679/0.3218, allocations: 103.9 kB / 0.5658 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3218, allocations: 4.062 kB / 0.5658 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.3219, allocations: 55.92 kB / 0.5659 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.3222, allocations: 34.97 kB / 0.5659 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.3244, allocations: 1.903 MB / 0.5678 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.3245, allocations: 106.3 kB / 0.5679 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.337e-05/0.3246, allocations: 25.41 kB / 0.5679 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-05/0.3247, allocations: 47.42 kB / 0.5679 GB, free: 12.14 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3247, allocations: 4 kB / 0.5679 GB, free: 12.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.3545, allocations: 4.854 MB / 0.5727 GB, free: 7.348 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.68, allocations: 4 kB / 0.5727 GB, free: 7.344 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.657725602854043]