Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001298/0.001298, 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.001555/0.001555, allocations: 215.7 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.442/1.442, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2686/0.2686, allocations: 44.91 MB / 358.8 MB, free: 6.266 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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",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.002112/0.002112, allocations: 59.91 kB / 0.4932 GB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3216, allocations: 65.47 MB / 0.5571 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003294/0.3249, allocations: 1.769 MB / 0.5588 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.3267, allocations: 1.053 MB / 0.5599 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.417e-05/0.3268, allocations: 0 / 0.5599 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.3272, allocations: 83.7 kB / 0.5599 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00034/0.3275, allocations: 119.5 kB / 0.56 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.3277, allocations: 83.66 kB / 0.5601 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.3279, allocations: 123.7 kB / 0.5602 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.722e-05/0.328, allocations: 13.81 kB / 0.5603 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.3281, allocations: 55.78 kB / 0.5603 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.3283, allocations: 75.67 kB / 0.5604 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.3283, allocations: 4 kB / 0.5604 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.3284, allocations: 59.97 kB / 0.5604 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.667e-05/0.3284, allocations: 23.92 kB / 0.5605 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.3285, allocations: 39.73 kB / 0.5605 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.3288, allocations: 143.3 kB / 0.5606 GB, free: 4.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3288, allocations: 4 kB / 0.5606 GB, free: 4.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3288, allocations: 0 / 0.5606 GB, free: 4.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3288, allocations: 0 / 0.5606 GB, free: 4.102 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005625/0.3293, allocations: 369.3 kB / 0.561 GB, free: 3.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3294, allocations: 12.03 kB / 0.561 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.61e-05/0.3294, allocations: 34.75 kB / 0.561 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.3295, allocations: 20.83 kB / 0.5611 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.3297, allocations: 154.8 kB / 0.5612 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-06/0.3297, allocations: 384 / 0.5612 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.3298, allocations: 7.938 kB / 0.5612 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.3299, allocations: 65.61 kB / 0.5613 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3299, allocations: 0 / 0.5613 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.3299, allocations: 8 kB / 0.5613 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.33, allocations: 0 / 0.5613 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.2e-05/0.33, allocations: 23.97 kB / 0.5613 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.3305, allocations: 271.8 kB / 0.5616 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.3307, allocations: 62.48 kB / 0.5616 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.685e-05/0.3308, allocations: 28.97 kB / 0.5617 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.3308, allocations: 0 / 0.5617 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.331, allocations: 67.39 kB / 0.5617 GB, free: 2.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.331, allocations: 0 / 0.5617 GB, free: 2.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007932/0.3318, allocations: 245.7 kB / 0.562 GB, free: 2.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.3318, allocations: 59.34 kB / 0.562 GB, free: 2.547 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.332, allocations: 231.4 kB / 0.5622 GB, free: 2.301 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.3321, allocations: 29.7 kB / 0.5623 GB, free: 2.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.545e-05/0.3322, allocations: 112.1 kB / 0.5624 GB, free: 2.152 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.3322, allocations: 31.73 kB / 0.5624 GB, free: 2.121 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.3322, allocations: 25.72 kB / 0.5624 GB, free: 2.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.3324, allocations: 322.8 kB / 0.5627 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.861e-05/0.3325, allocations: 31.98 kB / 0.5628 GB, free: 1.734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.507e-05/0.3326, allocations: 49.7 kB / 0.5628 GB, free: 1.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.3327, allocations: 77.75 kB / 0.5629 GB, free: 1.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3327, allocations: 4 kB / 0.5629 GB, free: 1.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002365/0.333, allocations: 129.5 kB / 0.563 GB, free: 1.461 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.333, allocations: 4 kB / 0.563 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.333, allocations: 0 / 0.563 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.333, allocations: 4 kB / 0.563 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.031e-05/0.3331, allocations: 31.89 kB / 0.563 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.3331, allocations: 4 kB / 0.563 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.3331, allocations: 4 kB / 0.5631 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.3331, allocations: 4 kB / 0.5631 GB, free: 1.41 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 (13): * Single equations (assignments): 13 * 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.0001257/0.3333, allocations: 137.8 kB / 0.5632 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.3333, allocations: 11.91 kB / 0.5632 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.3336, allocations: 150.9 kB / 0.5633 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3336, allocations: 7.938 kB / 0.5634 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3336, allocations: 0 / 0.5634 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3336, allocations: 4 kB / 0.5634 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005563/0.3342, allocations: 419.2 kB / 0.5638 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3342, allocations: 3.984 kB / 0.5638 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.107e-05/0.3342, allocations: 19.94 kB / 0.5638 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3342, allocations: 0 / 0.5638 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.3342, allocations: 4 kB / 0.5638 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3342, allocations: 0 / 0.5638 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3342, allocations: 4.062 kB / 0.5638 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.3345, allocations: 241 kB / 0.564 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.3345, allocations: 11.91 kB / 0.564 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.3346, allocations: 0 / 0.564 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-05/0.3347, allocations: 12.08 kB / 0.564 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.3347, allocations: 15.88 kB / 0.5641 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.3347, allocations: 7.984 kB / 0.5641 GB, free: 288 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.3349, allocations: 165.2 kB / 0.5642 GB, free: 124 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3349, allocations: 0 / 0.5642 GB, free: 124 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000276/0.3351, allocations: 31.92 kB / 0.5642 GB, free: 92 kB / 398.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 (11): * Single equations (assignments): 9 * 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.002492/0.3376, allocations: 1.179 MB / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.3378, allocations: 75.91 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3379, allocations: 0 / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.855e-05/0.338, allocations: 35.92 kB / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.3383, allocations: 41.62 kB / 0.5655 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.3405, allocations: 1.816 MB / 0.5673 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.3409, allocations: 0.7196 MB / 0.568 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.328e-05/0.3409, allocations: 16.64 kB / 0.568 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.959e-05/0.341, allocations: 43.42 kB / 0.5681 GB, free: 12.23 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.341, allocations: 0 / 0.5681 GB, free: 12.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.3718, allocations: 4.083 MB / 0.5721 GB, free: 8.211 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.59, allocations: 14.28 kB / 0.5721 GB, free: 8.199 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.604466940043494]