Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001653/0.001653, 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.001781/0.001781, allocations: 217 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.529/1.529, 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.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.2256/0.2256, allocations: 44.91 MB / 358.8 MB, free: 6.293 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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",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.002221/0.002221, allocations: 71.91 kB / 0.4932 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3195, allocations: 65.47 MB / 0.5571 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.00335/0.3228, allocations: 1.743 MB / 0.5588 GB, free: 6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.3247, allocations: 1.045 MB / 0.5598 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/0.3248, allocations: 0 / 0.5598 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.3251, allocations: 47.77 kB / 0.5599 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.3254, allocations: 99.53 kB / 0.56 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.3256, allocations: 71.75 kB / 0.56 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.3258, allocations: 107.7 kB / 0.5601 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.704e-05/0.3259, allocations: 13.7 kB / 0.5601 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.326, allocations: 47.78 kB / 0.5602 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.564e-05/0.3261, allocations: 31.84 kB / 0.5602 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.3261, allocations: 7.938 kB / 0.5602 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-05/0.3262, allocations: 39.98 kB / 0.5603 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.711e-05/0.3263, allocations: 19.92 kB / 0.5603 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.795e-05/0.3263, allocations: 39.73 kB / 0.5603 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.3265, allocations: 119.5 kB / 0.5604 GB, free: 4.316 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.3265, allocations: 0 / 0.5604 GB, free: 4.316 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3266, allocations: 0 / 0.5604 GB, free: 4.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3266, allocations: 0 / 0.5604 GB, free: 4.316 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.0005625/0.3271, allocations: 349.5 kB / 0.5608 GB, free: 3.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3272, allocations: 12.02 kB / 0.5608 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.861e-05/0.3272, allocations: 30.75 kB / 0.5608 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.3273, allocations: 16.84 kB / 0.5608 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.3275, allocations: 150.3 kB / 0.561 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.3275, allocations: 4.375 kB / 0.561 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.3276, allocations: 3.938 kB / 0.561 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.3277, allocations: 53.67 kB / 0.561 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3277, allocations: 4 kB / 0.561 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.3277, allocations: 0 / 0.561 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3277, allocations: 0 / 0.561 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.832e-05/0.3278, allocations: 23.92 kB / 0.5611 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.3282, allocations: 256 kB / 0.5613 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.3283, allocations: 54.67 kB / 0.5614 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.227e-05/0.3284, allocations: 20.84 kB / 0.5614 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.3284, allocations: 3.984 kB / 0.5614 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.3286, allocations: 75.33 kB / 0.5614 GB, free: 3.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3286, allocations: 0 / 0.5614 GB, free: 3.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005127/0.3291, allocations: 177.6 kB / 0.5616 GB, free: 2.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.3291, allocations: 51.41 kB / 0.5617 GB, free: 2.902 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.3293, allocations: 183.2 kB / 0.5618 GB, free: 2.711 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.3294, allocations: 25.7 kB / 0.5619 GB, free: 2.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.3294, allocations: 104.1 kB / 0.562 GB, free: 2.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.3295, allocations: 27.78 kB / 0.562 GB, free: 2.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.3295, allocations: 29.72 kB / 0.562 GB, free: 2.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3297, allocations: 322.8 kB / 0.5623 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.168e-05/0.3297, allocations: 23.98 kB / 0.5623 GB, free: 2.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.774e-05/0.3298, allocations: 37.64 kB / 0.5624 GB, free: 2.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.3299, allocations: 57.72 kB / 0.5624 GB, free: 2.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3299, allocations: 4 kB / 0.5624 GB, free: 2.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002048/0.3301, allocations: 109.6 kB / 0.5625 GB, free: 1.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3301, allocations: 4 kB / 0.5626 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.3301, allocations: 7.938 kB / 0.5626 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3302, allocations: 3.938 kB / 0.5626 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.071e-05/0.3302, allocations: 15.98 kB / 0.5626 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3302, allocations: 0 / 0.5626 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.759e-05/0.3303, allocations: 7.938 kB / 0.5626 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.3303, allocations: 4 kB / 0.5626 GB, free: 1.898 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.000111/0.3304, allocations: 125.9 kB / 0.5627 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.3304, allocations: 11.94 kB / 0.5627 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.3307, allocations: 115 kB / 0.5628 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3307, allocations: 3.984 kB / 0.5628 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3307, allocations: 0 / 0.5628 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.3307, allocations: 11.92 kB / 0.5628 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004841/0.3312, allocations: 358.4 kB / 0.5632 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3312, allocations: 32 / 0.5632 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.231e-05/0.3312, allocations: 12 kB / 0.5632 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.3313, allocations: 7.938 kB / 0.5632 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.3313, allocations: 0 / 0.5632 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3313, allocations: 0 / 0.5632 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3313, allocations: 320 / 0.5632 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.3315, allocations: 208.2 kB / 0.5634 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.3315, allocations: 15.91 kB / 0.5634 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.3316, allocations: 7.938 kB / 0.5634 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.627e-05/0.3316, allocations: 0 / 0.5634 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.3317, allocations: 11.98 kB / 0.5634 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.3317, allocations: 4 kB / 0.5634 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.3318, allocations: 141.6 kB / 0.5636 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3318, allocations: 0 / 0.5636 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.3321, allocations: 23.94 kB / 0.5636 GB, free: 0.7656 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.002138/0.3342, allocations: 1.099 MB / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.3344, allocations: 51.98 kB / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3344, allocations: 3.938 kB / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.36e-05/0.3345, allocations: 23.98 kB / 0.5648 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.3348, allocations: 28.8 kB / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.3367, allocations: 1.646 MB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.337, allocations: 0.7041 MB / 0.5671 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.362e-05/0.337, allocations: 21.27 kB / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.826e-05/0.3371, allocations: 35.42 kB / 0.5671 GB, free: 13.19 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3371, allocations: 4 kB / 0.5671 GB, free: 13.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.3675, allocations: 3.563 MB / 0.5706 GB, free: 9.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.55, allocations: 12 kB / 0.5706 GB, free: 9.68 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.567320829955861]