Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 110.4 kB / 17.78 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 187 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2083/0.2083, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 75.88 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3424, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002635/0.345, allocations: 1.562 MB / 0.52 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009735/0.346, allocations: 396.6 kB / 0.5203 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.651e-05/0.3461, allocations: 1.406 kB / 0.5203 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.3464, allocations: 19.78 kB / 0.5204 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.3466, allocations: 47.12 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.347, allocations: 84.77 kB / 0.5205 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.3472, allocations: 57.61 kB / 0.5205 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.3473, allocations: 16.58 kB / 0.5206 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.21e-05/0.3473, allocations: 18.62 kB / 0.5206 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.487e-05/0.3474, allocations: 15.67 kB / 0.5206 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.3474, allocations: 7.047 kB / 0.5206 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-05/0.3475, allocations: 29.19 kB / 0.5206 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.3476, allocations: 14.19 kB / 0.5206 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.3476, allocations: 16.62 kB / 0.5207 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.3478, allocations: 79.09 kB / 0.5207 GB, free: 1.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3479, allocations: 4 kB / 0.5207 GB, free: 1.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3479, allocations: 0 / 0.5207 GB, free: 1.758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3479, allocations: 0.9375 kB / 0.5207 GB, free: 1.758 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.0004474/0.3483, allocations: 376.8 kB / 0.5211 GB, free: 1.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3484, allocations: 9.859 kB / 0.5211 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.785e-05/0.3484, allocations: 32.66 kB / 0.5211 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.3485, allocations: 8.406 kB / 0.5211 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.3486, allocations: 185.3 kB / 0.5213 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-06/0.3486, allocations: 2.688 kB / 0.5213 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.3486, allocations: 5.531 kB / 0.5213 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.3488, allocations: 57.12 kB / 0.5214 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.3488, allocations: 0 / 0.5214 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.3488, allocations: 5.125 kB / 0.5214 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3488, allocations: 0 / 0.5214 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.349, allocations: 22.17 kB / 0.5214 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.3493, allocations: 272.7 kB / 0.5217 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.3495, allocations: 48.14 kB / 0.5217 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.369e-05/0.3496, allocations: 17.25 kB / 0.5217 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.3497, allocations: 1.828 kB / 0.5217 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.3497, allocations: 32.17 kB / 0.5218 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.3497, allocations: 0 / 0.5218 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007614/0.3505, allocations: 134.9 kB / 0.5219 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.3505, allocations: 53.31 kB / 0.5219 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.3506, allocations: 139.1 kB / 0.5221 GB, free: 464 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.3507, allocations: 27.3 kB / 0.5221 GB, free: 432 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.3507, allocations: 100.8 kB / 0.5222 GB, free: 332 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.3507, allocations: 11.59 kB / 0.5222 GB, free: 324 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.3508, allocations: 18.98 kB / 0.5222 GB, free: 304 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.097e-05/0.3509, allocations: 326.7 kB / 0.5225 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.888e-05/0.351, allocations: 18.7 kB / 0.5226 GB, free: 15.97 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.246e-05/0.3511, allocations: 23.09 kB / 0.5226 GB, free: 15.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.3513, allocations: 41.83 kB / 0.5226 GB, free: 15.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.3513, allocations: 0.8125 kB / 0.5226 GB, free: 15.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000259/0.3516, allocations: 89.34 kB / 0.5227 GB, free: 15.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3516, allocations: 4.594 kB / 0.5227 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3516, allocations: 5.062 kB / 0.5227 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3517, allocations: 0.7031 kB / 0.5227 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.619e-05/0.3517, allocations: 11.91 kB / 0.5227 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3518, allocations: 1.188 kB / 0.5227 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.674e-05/0.3518, allocations: 4.672 kB / 0.5227 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.3518, allocations: 5.844 kB / 0.5227 GB, free: 15.88 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.0001274/0.352, allocations: 119.9 kB / 0.5229 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/0.352, allocations: 7.562 kB / 0.5229 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003713/0.3524, allocations: 92.7 kB / 0.5229 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3525, allocations: 0.9844 kB / 0.5229 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3525, allocations: 1.125 kB / 0.523 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3525, allocations: 0 / 0.523 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.353, allocations: 349 kB / 0.5233 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.353, allocations: 6.781 kB / 0.5233 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.648e-05/0.3531, allocations: 13.98 kB / 0.5233 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.3531, allocations: 1.906 kB / 0.5233 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.3531, allocations: 4.875 kB / 0.5233 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.3532, allocations: 3.938 kB / 0.5233 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3532, allocations: 0.9688 kB / 0.5233 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.3535, allocations: 180.8 kB / 0.5235 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.3536, allocations: 84.05 kB / 0.5236 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.3536, allocations: 0.7969 kB / 0.5236 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.3537, allocations: 8.922 kB / 0.5236 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.3538, allocations: 7.953 kB / 0.5236 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.3538, allocations: 1.844 kB / 0.5236 GB, free: 15.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.3539, allocations: 111.4 kB / 0.5237 GB, free: 15.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3539, allocations: 0 / 0.5237 GB, free: 15.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004408/0.3544, allocations: 11.27 kB / 0.5237 GB, free: 15.01 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.001986/0.3564, allocations: 1.001 MB / 0.5247 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.3566, allocations: 47.72 kB / 0.5247 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3567, allocations: 5.094 kB / 0.5247 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.463e-05/0.3567, allocations: 28.08 kB / 0.5248 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.3572, allocations: 21.41 kB / 0.5248 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.3595, allocations: 1.404 MB / 0.5261 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.36, allocations: 0.6933 MB / 0.5268 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.54e-05/0.3601, allocations: 11.28 kB / 0.5268 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.018e-05/0.3602, allocations: 21.19 kB / 0.5269 GB, free: 12.23 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3602, allocations: 0 / 0.5269 GB, free: 12.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.3839, allocations: 2.481 MB / 0.5293 GB, free: 11.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/8.071, allocations: 9.938 kB / 0.5293 GB, free: 11.36 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches