Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.001752/0.001752, allocations: 115.8 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.001485/0.001485, allocations: 214.1 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.2679/0.2679, allocations: 44.92 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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",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.002353/0.002353, allocations: 67.89 kB / 0.4931 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3143, allocations: 65.47 MB / 0.5571 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003074/0.3174, allocations: 1.746 MB / 0.5588 GB, free: 6.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.3192, allocations: 1.045 MB / 0.5598 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.724e-05/0.3193, allocations: 3.938 kB / 0.5598 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.3196, allocations: 39.77 kB / 0.5599 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.3199, allocations: 103.5 kB / 0.56 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.3201, allocations: 79.67 kB / 0.56 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.3202, allocations: 103.7 kB / 0.5601 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.895e-05/0.3203, allocations: 11.78 kB / 0.5601 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.3204, allocations: 47.73 kB / 0.5602 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.008e-05/0.3205, allocations: 35.78 kB / 0.5602 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.3205, allocations: 4 kB / 0.5602 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.909e-05/0.3206, allocations: 43.97 kB / 0.5603 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.624e-05/0.3207, allocations: 19.92 kB / 0.5603 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.3207, allocations: 31.75 kB / 0.5603 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.321, allocations: 125.5 kB / 0.5604 GB, free: 4.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.321, allocations: 0 / 0.5604 GB, free: 4.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.321, allocations: 0 / 0.5604 GB, free: 4.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.321, allocations: 0 / 0.5604 GB, free: 4.336 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.0005062/0.3215, allocations: 345.6 kB / 0.5608 GB, free: 3.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3215, allocations: 8.031 kB / 0.5608 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/0.3215, allocations: 34.69 kB / 0.5608 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.3216, allocations: 16.84 kB / 0.5608 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.3218, allocations: 146.3 kB / 0.561 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.3218, allocations: 12.36 kB / 0.561 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.3219, allocations: 7.875 kB / 0.561 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.322, allocations: 61.67 kB / 0.561 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.322, allocations: 0 / 0.561 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.322, allocations: 3.984 kB / 0.561 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-06/0.322, allocations: 0 / 0.561 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.439e-05/0.3221, allocations: 19.98 kB / 0.5611 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.3224, allocations: 256 kB / 0.5613 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.3226, allocations: 54.62 kB / 0.5614 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.457e-05/0.3227, allocations: 20.84 kB / 0.5614 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.3227, allocations: 4 kB / 0.5614 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.3228, allocations: 63.39 kB / 0.5614 GB, free: 3.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3228, allocations: 4 kB / 0.5614 GB, free: 3.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005384/0.3234, allocations: 181.3 kB / 0.5616 GB, free: 2.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.3234, allocations: 51.41 kB / 0.5617 GB, free: 2.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.3236, allocations: 187.2 kB / 0.5618 GB, free: 2.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.3236, allocations: 25.7 kB / 0.5619 GB, free: 2.691 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.3237, allocations: 108.1 kB / 0.562 GB, free: 2.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.3237, allocations: 23.78 kB / 0.562 GB, free: 2.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.3238, allocations: 25.72 kB / 0.562 GB, free: 2.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3239, allocations: 322.8 kB / 0.5623 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.74e-05/0.324, allocations: 27.92 kB / 0.5624 GB, free: 2.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.3241, allocations: 37.64 kB / 0.5624 GB, free: 2.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.3242, allocations: 57.7 kB / 0.5624 GB, free: 2.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.3242, allocations: 0 / 0.5624 GB, free: 2.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002019/0.3244, allocations: 109.5 kB / 0.5626 GB, free: 1.957 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.3244, allocations: 4 kB / 0.5626 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3244, allocations: 4 kB / 0.5626 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.3244, allocations: 0 / 0.5626 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.939e-05/0.3245, allocations: 15.98 kB / 0.5626 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3245, allocations: 0 / 0.5626 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.696e-05/0.3246, allocations: 11.88 kB / 0.5626 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.3246, allocations: 8.156 kB / 0.5626 GB, free: 1.914 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.0001004/0.3247, allocations: 125.8 kB / 0.5627 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.3247, allocations: 11.98 kB / 0.5627 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.3249, allocations: 119 kB / 0.5628 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3249, allocations: 0 / 0.5628 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.325, allocations: 4.375 kB / 0.5628 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.325, allocations: 3.938 kB / 0.5628 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00045/0.3254, allocations: 358.4 kB / 0.5632 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.3254, allocations: 4 kB / 0.5632 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-05/0.3255, allocations: 19.95 kB / 0.5632 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3255, allocations: 7.938 kB / 0.5632 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.3255, allocations: 0 / 0.5632 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3255, allocations: 0 / 0.5632 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3255, allocations: 0 / 0.5632 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.3257, allocations: 196.3 kB / 0.5634 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.3257, allocations: 11.91 kB / 0.5634 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.3258, allocations: 11.94 kB / 0.5634 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.181e-05/0.3258, allocations: 3.984 kB / 0.5634 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.3259, allocations: 8 kB / 0.5634 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.3259, allocations: 7.984 kB / 0.5634 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.326, allocations: 137.8 kB / 0.5636 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.326, allocations: 0 / 0.5636 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.3263, allocations: 23.94 kB / 0.5636 GB, free: 0.7852 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.002775/0.329, allocations: 1.089 MB / 0.5647 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.3293, allocations: 63.89 kB / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3293, allocations: 0 / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.3294, allocations: 27.94 kB / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/0.33, allocations: 35.28 kB / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.3327, allocations: 1.642 MB / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.3332, allocations: 0.7041 MB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.462e-05/0.3333, allocations: 16.97 kB / 0.5671 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.3334, allocations: 35.42 kB / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3334, allocations: 0 / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.036/0.3694, allocations: 3.569 MB / 0.5706 GB, free: 9.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.57, allocations: 4.062 kB / 0.5706 GB, free: 9.711 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.562781810062006]