Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.00107, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001094/0.001094, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2174/0.2174, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 75.88 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3436, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.00323/0.3469, allocations: 2.038 MB / 0.5325 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.349, allocations: 1.25 MB / 0.5337 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.3492, allocations: 2.344 kB / 0.5337 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.3495, allocations: 43.97 kB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006015/0.3501, allocations: 209.6 kB / 0.534 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.3512, allocations: 439.1 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000409/0.3516, allocations: 295.4 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.3518, allocations: 65.08 kB / 0.5347 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.3521, allocations: 134.4 kB / 0.5349 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.3523, allocations: 177.8 kB / 0.535 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.3524, allocations: 13.75 kB / 0.535 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.3526, allocations: 71.91 kB / 0.5351 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.3527, allocations: 139.2 kB / 0.5352 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.3529, allocations: 178.8 kB / 0.5354 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004198/0.3533, allocations: 406.2 kB / 0.5358 GB, free: 9.488 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3533, allocations: 0 / 0.5358 GB, free: 9.488 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3533, allocations: 1.094 kB / 0.5358 GB, free: 9.488 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.3533, allocations: 0 / 0.5358 GB, free: 9.488 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001034/0.3544, allocations: 0.7929 MB / 0.5366 GB, free: 8.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3544, allocations: 9.188 kB / 0.5366 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.685e-05/0.3545, allocations: 46.2 kB / 0.5366 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002676/0.3548, allocations: 80.86 kB / 0.5367 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006947/0.3555, allocations: 467.4 kB / 0.5372 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3555, allocations: 8.656 kB / 0.5372 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.3555, allocations: 18.8 kB / 0.5372 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.3558, allocations: 129.5 kB / 0.5373 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.3558, allocations: 5.156 kB / 0.5373 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.3558, allocations: 5.219 kB / 0.5373 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.3558, allocations: 2.5 kB / 0.5373 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.356, allocations: 82.48 kB / 0.5374 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009736/0.357, allocations: 0.6769 MB / 0.5381 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.3572, allocations: 113.3 kB / 0.5382 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.395e-05/0.3573, allocations: 40.36 kB / 0.5382 GB, free: 7.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.3574, allocations: 10.12 kB / 0.5382 GB, free: 7.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.3574, allocations: 31.72 kB / 0.5382 GB, free: 7.449 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.3574, allocations: 0 / 0.5382 GB, free: 7.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001365/0.3588, allocations: 0.5222 MB / 0.5388 GB, free: 7.133 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.3588, allocations: 79.67 kB / 0.5388 GB, free: 7.039 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.3599, allocations: 0.9192 MB / 0.5397 GB, free: 6.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.3599, allocations: 30.73 kB / 0.5398 GB, free: 6.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.3601, allocations: 269.4 kB / 0.54 GB, free: 6.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.3602, allocations: 53.41 kB / 0.5401 GB, free: 6.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.747e-05/0.3603, allocations: 33.08 kB / 0.5401 GB, free: 6.262 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3604, allocations: 385.8 kB / 0.5405 GB, free: 5.895 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.3606, allocations: 50 kB / 0.5405 GB, free: 5.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.3608, allocations: 76.17 kB / 0.5406 GB, free: 5.828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.3611, allocations: 134.5 kB / 0.5407 GB, free: 5.758 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3611, allocations: 0 / 0.5407 GB, free: 5.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004515/0.3615, allocations: 235.7 kB / 0.5409 GB, free: 5.625 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3616, allocations: 4.562 kB / 0.5409 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3616, allocations: 1.031 kB / 0.5409 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3616, allocations: 1.062 kB / 0.5409 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.3618, allocations: 37.34 kB / 0.541 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3618, allocations: 1.219 kB / 0.541 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.362, allocations: 15.2 kB / 0.541 GB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.362, allocations: 12.59 kB / 0.541 GB, free: 5.602 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0002162/0.3622, allocations: 216 kB / 0.5412 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.3623, allocations: 57.75 kB / 0.5413 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005863/0.3629, allocations: 273 kB / 0.5415 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.3629, allocations: 1.469 kB / 0.5415 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3629, allocations: 1.438 kB / 0.5415 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.363, allocations: 5.5 kB / 0.5415 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.3642, allocations: 0.7826 MB / 0.5423 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3642, allocations: 1.125 kB / 0.5423 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.3643, allocations: 43.5 kB / 0.5423 GB, free: 4.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3644, allocations: 1.125 kB / 0.5423 GB, free: 4.598 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.3644, allocations: 2.219 kB / 0.5423 GB, free: 4.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.3644, allocations: 9.031 kB / 0.5424 GB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3644, allocations: 1.188 kB / 0.5424 GB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005851/0.365, allocations: 395.3 kB / 0.5427 GB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.3652, allocations: 150.9 kB / 0.5429 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.193e-05/0.3653, allocations: 13.03 kB / 0.5429 GB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.3655, allocations: 15.86 kB / 0.5429 GB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.3655, allocations: 14.8 kB / 0.5429 GB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.3655, allocations: 8.797 kB / 0.5429 GB, free: 4.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009029/0.3665, allocations: 0.6704 MB / 0.5436 GB, free: 3.809 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.693e-06/0.3665, allocations: 1.125 kB / 0.5436 GB, free: 3.809 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004033/0.3669, allocations: 62.17 kB / 0.5436 GB, free: 3.793 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.001795/0.3687, allocations: 1.214 MB / 0.5448 GB, free: 2.844 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000412/0.3691, allocations: 155.8 kB / 0.545 GB, free: 2.691 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3691, allocations: 0 / 0.545 GB, free: 2.691 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.3693, allocations: 79.89 kB / 0.5451 GB, free: 2.613 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005967/0.3699, allocations: 83.34 kB / 0.5451 GB, free: 2.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006172/0.3761, allocations: 5.048 MB / 0.5501 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.3766, allocations: 0.8604 MB / 0.5509 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002112/0.3768, allocations: 87.78 kB / 0.551 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/0.3771, allocations: 179.4 kB / 0.5512 GB, free: 12.25 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3771, allocations: 0 / 0.5512 GB, free: 12.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.4064, allocations: 10.04 MB / 0.561 GB, free: 2.293 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.327/8.734, allocations: 12.89 kB / 0.561 GB, free: 2.281 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches