Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001926/0.001926, allocations: 122 kB / 17.83 MB, free: 5.242 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.002338/0.002338, allocations: 204.7 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 207.6 MB / 231.2 MB, free: 4.117 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3991/0.3991, allocations: 44.23 MB / 327.3 MB, free: 6.73 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002251/0.002251, allocations: 67.91 kB / 462.9 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3809, allocations: 61.01 MB / 0.5117 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003045/0.384, allocations: 1.577 MB / 0.5132 GB, free: 12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007329/0.3847, allocations: 334 kB / 0.5135 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.326e-05/0.3848, allocations: 1.094 kB / 0.5135 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008108/0.3856, allocations: 455.3 kB / 0.5139 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005538/0.3862, allocations: 246.9 kB / 0.5142 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.3866, allocations: 154.5 kB / 0.5143 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.3869, allocations: 163.3 kB / 0.5145 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.387, allocations: 9.516 kB / 0.5145 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.3871, allocations: 109.7 kB / 0.5146 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003122/0.3874, allocations: 245.6 kB / 0.5148 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.3875, allocations: 2.75 kB / 0.5148 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.448e-05/0.3876, allocations: 21.69 kB / 0.5149 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.3877, allocations: 83.56 kB / 0.5149 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.84e-05/0.3878, allocations: 98.12 kB / 0.515 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.3882, allocations: 252.2 kB / 0.5153 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3882, allocations: 0 / 0.5153 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.397e-06/0.3882, allocations: 3.984 kB / 0.5153 GB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.3882, allocations: 0 / 0.5153 GB, free: 10.84 MB / 382.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.0008577/0.389, allocations: 0.6414 MB / 0.5159 GB, free: 10.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.3891, allocations: 13.48 kB / 0.5159 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.781e-05/0.3891, allocations: 5.562 kB / 0.5159 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.326e-05/0.3891, allocations: 36.06 kB / 0.516 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/0.3892, allocations: 42.53 kB / 0.516 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.3895, allocations: 302.8 kB / 0.5163 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.3895, allocations: 5.516 kB / 0.5163 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.3895, allocations: 6.406 kB / 0.5163 GB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.3897, allocations: 52.59 kB / 0.5163 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3897, allocations: 0 / 0.5163 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3897, allocations: 1.094 kB / 0.5163 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3898, allocations: 4 kB / 0.5163 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.695e-05/0.3898, allocations: 25.86 kB / 0.5164 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/0.3904, allocations: 397.3 kB / 0.5167 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.3905, allocations: 35.84 kB / 0.5168 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.025e-05/0.3905, allocations: 11.67 kB / 0.5168 GB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.3906, allocations: 5.406 kB / 0.5168 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.3906, allocations: 30.56 kB / 0.5168 GB, free: 9.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.3906, allocations: 1.406 kB / 0.5168 GB, free: 9.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003944/0.391, allocations: 103 kB / 0.5169 GB, free: 9.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.391, allocations: 57.06 kB / 0.517 GB, free: 9.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007985/0.3918, allocations: 0.8674 MB / 0.5178 GB, free: 8.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.3918, allocations: 25.7 kB / 0.5179 GB, free: 8.398 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.392, allocations: 224.1 kB / 0.5181 GB, free: 8.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.392, allocations: 7.891 kB / 0.5181 GB, free: 8.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.392, allocations: 13.72 kB / 0.5181 GB, free: 8.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.626e-05/0.3921, allocations: 362.7 kB / 0.5184 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.309e-05/0.3921, allocations: 15.98 kB / 0.5185 GB, free: 7.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.266e-05/0.3922, allocations: 11.98 kB / 0.5185 GB, free: 7.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.913e-05/0.3922, allocations: 28.84 kB / 0.5185 GB, free: 7.727 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3922, allocations: 3.938 kB / 0.5185 GB, free: 7.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001261/0.3924, allocations: 89.41 kB / 0.5186 GB, free: 7.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3924, allocations: 4 kB / 0.5186 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3924, allocations: 0 / 0.5186 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3924, allocations: 8.094 kB / 0.5186 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.478e-05/0.3925, allocations: 7.984 kB / 0.5186 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3925, allocations: 0 / 0.5186 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.641e-05/0.3925, allocations: 0 / 0.5186 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.3925, allocations: 7.938 kB / 0.5186 GB, free: 7.602 MB / 382.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 (2): * Single equations (assignments): 2 * 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.0001304/0.3927, allocations: 213.8 kB / 0.5188 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.3927, allocations: 43.67 kB / 0.5189 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.3929, allocations: 108.6 kB / 0.519 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3929, allocations: 0 / 0.519 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3929, allocations: 0 / 0.519 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3929, allocations: 4 kB / 0.519 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.3931, allocations: 285.5 kB / 0.5192 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3931, allocations: 0 / 0.5192 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.3931, allocations: 7.984 kB / 0.5192 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3931, allocations: 3.938 kB / 0.5192 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.3932, allocations: 4 kB / 0.5192 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3932, allocations: 0 / 0.5192 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3932, allocations: 0 / 0.5192 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.3933, allocations: 200.4 kB / 0.5194 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.558e-05/0.3934, allocations: 112.8 kB / 0.5195 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.3934, allocations: 0 / 0.5195 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.367e-05/0.3935, allocations: 8 kB / 0.5196 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.3935, allocations: 3.984 kB / 0.5196 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.3935, allocations: 0 / 0.5196 GB, free: 6.527 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004392/0.3939, allocations: 0.6628 MB / 0.5202 GB, free: 5.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3939, allocations: 0 / 0.5202 GB, free: 5.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.3942, allocations: 19.92 kB / 0.5202 GB, free: 5.848 MB / 382.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 (2): * Single equations (assignments): 2 * 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.001481/0.3957, allocations: 0.9789 MB / 0.5212 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.3958, allocations: 27.92 kB / 0.5212 GB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3958, allocations: 0 / 0.5212 GB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.272e-05/0.3959, allocations: 11.98 kB / 0.5212 GB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.3963, allocations: 30.42 kB / 0.5212 GB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/0.3988, allocations: 3.153 MB / 0.5243 GB, free: 1.559 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.3991, allocations: 0.8221 MB / 0.5251 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.247e-05/0.3991, allocations: 16.05 kB / 0.5251 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.3993, allocations: 107.4 kB / 0.5252 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3993, allocations: 4 kB / 0.5252 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.4236, allocations: 5.812 MB / 0.5309 GB, free: 10.7 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.171/9.595, allocations: 17.73 kB / 0.5309 GB, free: 10.69 MB / 398.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.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: 12.883253798994701]