Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001828/0.001828, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.002308/0.002308, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2181/0.2181, allocations: 44.91 MB / 358.8 MB, free: 6.273 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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",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.002045/0.002045, allocations: 63.89 kB / 0.4932 GB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3105, allocations: 65.47 MB / 0.5571 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003106/0.3136, allocations: 1.745 MB / 0.5588 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.3153, allocations: 1.056 MB / 0.5598 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.074e-05/0.3154, allocations: 0 / 0.5598 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.3157, allocations: 43.77 kB / 0.5599 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.3159, allocations: 87.61 kB / 0.56 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.3161, allocations: 79.67 kB / 0.56 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.3163, allocations: 103.7 kB / 0.5601 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.472e-05/0.3164, allocations: 17.77 kB / 0.5601 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.3165, allocations: 47.77 kB / 0.5602 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.55e-05/0.3166, allocations: 31.8 kB / 0.5602 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.3166, allocations: 4 kB / 0.5602 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.22e-05/0.3167, allocations: 43.97 kB / 0.5603 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.566e-05/0.3167, allocations: 23.92 kB / 0.5603 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.851e-05/0.3168, allocations: 35.67 kB / 0.5603 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.317, allocations: 119.5 kB / 0.5604 GB, free: 4.273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.317, allocations: 0 / 0.5604 GB, free: 4.273 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.317, allocations: 0 / 0.5604 GB, free: 4.273 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.317, allocations: 0 / 0.5604 GB, free: 4.273 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.0005048/0.3175, allocations: 341.6 kB / 0.5608 GB, free: 3.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.3176, allocations: 12.03 kB / 0.5608 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.3176, allocations: 38.73 kB / 0.5608 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.3176, allocations: 12.84 kB / 0.5608 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.3179, allocations: 154.2 kB / 0.561 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.3179, allocations: 4.375 kB / 0.561 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.3179, allocations: 7.938 kB / 0.561 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.318, allocations: 53.67 kB / 0.561 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3181, allocations: 4 kB / 0.561 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.3181, allocations: 0 / 0.561 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.3181, allocations: 4 kB / 0.561 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.157e-05/0.3181, allocations: 15.98 kB / 0.5611 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.3185, allocations: 256 kB / 0.5613 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.3187, allocations: 58.61 kB / 0.5614 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.637e-05/0.3187, allocations: 16.86 kB / 0.5614 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.3187, allocations: 7.984 kB / 0.5614 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.3189, allocations: 67.39 kB / 0.5614 GB, free: 3.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3189, allocations: 0 / 0.5614 GB, free: 3.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005395/0.3194, allocations: 181.3 kB / 0.5616 GB, free: 2.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.3195, allocations: 59.39 kB / 0.5617 GB, free: 2.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.3197, allocations: 183.2 kB / 0.5618 GB, free: 2.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.3197, allocations: 25.7 kB / 0.5619 GB, free: 2.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.3197, allocations: 104.1 kB / 0.562 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.3198, allocations: 27.78 kB / 0.562 GB, free: 2.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.3198, allocations: 25.66 kB / 0.562 GB, free: 2.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.32, allocations: 326.8 kB / 0.5623 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.974e-05/0.32, allocations: 15.98 kB / 0.5623 GB, free: 2.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.154e-05/0.3201, allocations: 45.64 kB / 0.5624 GB, free: 2.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.3202, allocations: 53.72 kB / 0.5624 GB, free: 2.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3202, allocations: 0 / 0.5624 GB, free: 2.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001948/0.3204, allocations: 105.5 kB / 0.5625 GB, free: 1.902 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3204, allocations: 4 kB / 0.5625 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3204, allocations: 0 / 0.5625 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3204, allocations: 7.938 kB / 0.5626 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.792e-05/0.3205, allocations: 20.03 kB / 0.5626 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.3205, allocations: 7.922 kB / 0.5626 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.746e-05/0.3206, allocations: 7.938 kB / 0.5626 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.3206, allocations: 0 / 0.5626 GB, free: 1.855 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.0001319/0.3207, allocations: 125.8 kB / 0.5627 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.3207, allocations: 11.95 kB / 0.5627 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.321, allocations: 119.1 kB / 0.5628 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.321, allocations: 0 / 0.5628 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.321, allocations: 4 kB / 0.5628 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.321, allocations: 7.922 kB / 0.5628 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004514/0.3215, allocations: 362.4 kB / 0.5632 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3215, allocations: 0 / 0.5632 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.3215, allocations: 11.94 kB / 0.5632 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3215, allocations: 3.938 kB / 0.5632 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3215, allocations: 4 kB / 0.5632 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3215, allocations: 0 / 0.5632 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3215, allocations: 4.031 kB / 0.5632 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.3218, allocations: 200.3 kB / 0.5634 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.3218, allocations: 11.91 kB / 0.5634 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.3218, allocations: 8.312 kB / 0.5634 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.051e-05/0.3219, allocations: 4 kB / 0.5634 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.3219, allocations: 15.92 kB / 0.5634 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.3219, allocations: 8 kB / 0.5635 GB, free: 0.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.3221, allocations: 137.8 kB / 0.5636 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3221, allocations: 0 / 0.5636 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.3223, allocations: 23.94 kB / 0.5636 GB, free: 0.7188 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.002197/0.3245, allocations: 1.093 MB / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.3247, allocations: 55.91 kB / 0.5647 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3247, allocations: 0 / 0.5647 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.243e-05/0.3248, allocations: 31.98 kB / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.3251, allocations: 24.3 kB / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.3269, allocations: 1.642 MB / 0.5664 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.3273, allocations: 0.708 MB / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.957e-05/0.3273, allocations: 12.97 kB / 0.5671 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.547e-05/0.3274, allocations: 31.42 kB / 0.5671 GB, free: 13.16 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3274, allocations: 0 / 0.5671 GB, free: 13.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02995/0.3573, allocations: 3.584 MB / 0.5706 GB, free: 9.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.52, allocations: 6.75 kB / 0.5706 GB, free: 9.645 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.531536791007966]