Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.001442/0.001442, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001557/0.001557, allocations: 210.7 kB / 23.73 MB, free: 4.387 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.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2216/0.2216, allocations: 44.94 MB / 358.8 MB, free: 6.074 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.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24",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.002108/0.002108, allocations: 63.91 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3613, allocations: 65.47 MB / 0.557 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.005016/0.3664, allocations: 1.608 MB / 0.5585 GB, free: 5.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00338/0.3697, allocations: 1.224 MB / 0.5597 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.726e-05/0.3698, allocations: 4 kB / 0.5597 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.3701, allocations: 23.84 kB / 0.5598 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004722/0.3706, allocations: 87.62 kB / 0.5599 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.371, allocations: 87.69 kB / 0.5599 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.3712, allocations: 75.77 kB / 0.56 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3713, allocations: 9.812 kB / 0.56 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.449e-05/0.3714, allocations: 27.92 kB / 0.56 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.3716, allocations: 27.84 kB / 0.5601 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.3716, allocations: 4 kB / 0.5601 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002603/0.3718, allocations: 87.89 kB / 0.5602 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.657e-05/0.3719, allocations: 19.92 kB / 0.5602 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.253e-05/0.372, allocations: 19.86 kB / 0.5602 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.3723, allocations: 135.5 kB / 0.5603 GB, free: 4.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3723, allocations: 0 / 0.5603 GB, free: 4.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3723, allocations: 0 / 0.5603 GB, free: 4.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.3724, allocations: 7.875 kB / 0.5603 GB, free: 3.996 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007326/0.3731, allocations: 333.7 kB / 0.5607 GB, free: 3.641 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.3731, allocations: 8.031 kB / 0.5607 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.469e-05/0.3732, allocations: 30.75 kB / 0.5607 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.3732, allocations: 8.891 kB / 0.5607 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.3735, allocations: 142.4 kB / 0.5608 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.3735, allocations: 384 / 0.5608 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.3736, allocations: 4.375 kB / 0.5608 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.3738, allocations: 96.98 kB / 0.5609 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3738, allocations: 0 / 0.5609 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3738, allocations: 0 / 0.5609 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3738, allocations: 0 / 0.5609 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.374, allocations: 23.97 kB / 0.561 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.3745, allocations: 240 kB / 0.5612 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.3747, allocations: 42.5 kB / 0.5612 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.549e-05/0.3748, allocations: 20.94 kB / 0.5612 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.3748, allocations: 7.938 kB / 0.5613 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.3748, allocations: 30.56 kB / 0.5613 GB, free: 2.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.714e-06/0.3748, allocations: 3.938 kB / 0.5613 GB, free: 2.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008334/0.3757, allocations: 137.4 kB / 0.5614 GB, free: 2.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.224e-05/0.3758, allocations: 81.11 kB / 0.5615 GB, free: 2.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.376, allocations: 145.8 kB / 0.5616 GB, free: 2.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.3761, allocations: 29.7 kB / 0.5617 GB, free: 2.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.35e-05/0.3762, allocations: 96.08 kB / 0.5618 GB, free: 2.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.3762, allocations: 23.83 kB / 0.5618 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.878e-05/0.3763, allocations: 21.72 kB / 0.5618 GB, free: 2.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.3765, allocations: 322.8 kB / 0.5621 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.3766, allocations: 15.98 kB / 0.5621 GB, free: 1.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.3768, allocations: 55.41 kB / 0.5622 GB, free: 1.898 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.377, allocations: 48.83 kB / 0.5622 GB, free: 1.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.377, allocations: 4.125 kB / 0.5622 GB, free: 1.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003433/0.3774, allocations: 85.66 kB / 0.5623 GB, free: 1.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3774, allocations: 4 kB / 0.5623 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3774, allocations: 0 / 0.5623 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3774, allocations: 288 / 0.5623 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3775, allocations: 15.98 kB / 0.5623 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3775, allocations: 0 / 0.5623 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.901e-05/0.3776, allocations: 11.94 kB / 0.5623 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.3776, allocations: 0 / 0.5623 GB, free: 1.723 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001436/0.3778, allocations: 121.8 kB / 0.5624 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.92e-05/0.3779, allocations: 11.94 kB / 0.5625 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004028/0.3783, allocations: 90 kB / 0.5625 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3783, allocations: 0 / 0.5625 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3783, allocations: 0 / 0.5625 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.3783, allocations: 3.938 kB / 0.5626 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007265/0.379, allocations: 317.6 kB / 0.5629 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.379, allocations: 0 / 0.5629 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.3791, allocations: 15.98 kB / 0.5629 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3791, allocations: 0 / 0.5629 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.3791, allocations: 3.938 kB / 0.5629 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.3791, allocations: 4 kB / 0.5629 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3791, allocations: 3.938 kB / 0.5629 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/0.3795, allocations: 171.5 kB / 0.563 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.3796, allocations: 12.19 kB / 0.5631 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.3796, allocations: 7.938 kB / 0.5631 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.3797, allocations: 8 kB / 0.5631 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.3798, allocations: 7.984 kB / 0.5631 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.3798, allocations: 4 kB / 0.5631 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001731/0.38, allocations: 113.9 kB / 0.5632 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.38, allocations: 3.938 kB / 0.5632 GB, free: 0.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005268/0.3805, allocations: 39.81 kB / 0.5632 GB, free: 0.7109 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.003728/0.3842, allocations: 1.141 MB / 0.5643 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003192/0.3845, allocations: 51.84 kB / 0.5644 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3845, allocations: 4 kB / 0.5644 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.3847, allocations: 23.98 kB / 0.5644 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/0.3852, allocations: 19.11 kB / 0.5644 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.388, allocations: 1.417 MB / 0.5658 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.3881, allocations: 87.02 kB / 0.5659 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.3882, allocations: 15.77 kB / 0.5659 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.748e-05/0.3883, allocations: 23.42 kB / 0.5659 GB, free: 14.04 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3883, allocations: 0 / 0.5659 GB, free: 14.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04167/0.43, allocations: 3.834 MB / 0.5697 GB, free: 10.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.73, allocations: 7.922 kB / 0.5697 GB, free: 10.23 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.815014167688787]