Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.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.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001337/0.001337, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001481/0.001481, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2352/0.2352, allocations: 46.12 MB / 344.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 79.86 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3342, allocations: 62.45 MB / 0.5306 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003348/0.3376, allocations: 2.111 MB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.3398, allocations: 1.395 MB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.3399, allocations: 4.125 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.3402, allocations: 57 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004524/0.3407, allocations: 222.5 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.3419, allocations: 0.6173 MB / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004229/0.3424, allocations: 350.1 kB / 0.5353 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.3425, allocations: 79.44 kB / 0.5353 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.3428, allocations: 149.3 kB / 0.5355 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.343, allocations: 207.1 kB / 0.5357 GB, free: 9.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.034e-05/0.3431, allocations: 15.19 kB / 0.5357 GB, free: 9.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.3432, allocations: 65.78 kB / 0.5358 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.3434, allocations: 147.7 kB / 0.5359 GB, free: 9.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.3436, allocations: 190.7 kB / 0.5361 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005053/0.3441, allocations: 443.8 kB / 0.5365 GB, free: 9.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.3441, allocations: 7.984 kB / 0.5365 GB, free: 9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3441, allocations: 1.188 kB / 0.5365 GB, free: 9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.3442, allocations: 0 / 0.5365 GB, free: 9 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.001136/0.3453, allocations: 0.8572 MB / 0.5374 GB, free: 8.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.3453, allocations: 10.34 kB / 0.5374 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/0.3454, allocations: 49.33 kB / 0.5374 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004189/0.3458, allocations: 98.3 kB / 0.5375 GB, free: 8.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000671/0.3465, allocations: 0.4965 MB / 0.538 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/0.3465, allocations: 4.219 kB / 0.538 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.5e-05/0.3466, allocations: 14.53 kB / 0.538 GB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.3469, allocations: 159.8 kB / 0.5382 GB, free: 7.633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3469, allocations: 1.125 kB / 0.5382 GB, free: 7.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.3469, allocations: 9.062 kB / 0.5382 GB, free: 7.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.347, allocations: 2.844 kB / 0.5382 GB, free: 7.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.3473, allocations: 114.2 kB / 0.5383 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.3483, allocations: 0.737 MB / 0.539 GB, free: 6.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.3486, allocations: 132.5 kB / 0.5391 GB, free: 6.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.3488, allocations: 61.91 kB / 0.5392 GB, free: 6.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.3488, allocations: 10.23 kB / 0.5392 GB, free: 6.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.3489, allocations: 39.66 kB / 0.5392 GB, free: 6.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.3489, allocations: 3.938 kB / 0.5392 GB, free: 6.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.002067/0.351, allocations: 0.7675 MB / 0.54 GB, free: 6.359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.351, allocations: 79.92 kB / 0.5401 GB, free: 6.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.3521, allocations: 0.9329 MB / 0.541 GB, free: 5.828 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.3521, allocations: 26.95 kB / 0.541 GB, free: 5.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/0.3524, allocations: 286.7 kB / 0.5413 GB, free: 5.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/0.3525, allocations: 72.28 kB / 0.5413 GB, free: 5.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.238e-05/0.3525, allocations: 39.95 kB / 0.5414 GB, free: 5.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3527, allocations: 316.4 kB / 0.5417 GB, free: 5.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.353, allocations: 110.5 kB / 0.5418 GB, free: 5.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.3533, allocations: 136 kB / 0.5419 GB, free: 5.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005877/0.3539, allocations: 252.8 kB / 0.5422 GB, free: 4.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3539, allocations: 1 kB / 0.5422 GB, free: 4.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007624/0.3547, allocations: 348.3 kB / 0.5425 GB, free: 4.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3547, allocations: 7.5 kB / 0.5425 GB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.3547, allocations: 1.062 kB / 0.5425 GB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3547, allocations: 5.062 kB / 0.5425 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.355, allocations: 54.08 kB / 0.5426 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.355, allocations: 1.469 kB / 0.5426 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.3552, allocations: 25.59 kB / 0.5426 GB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.3553, allocations: 9.453 kB / 0.5426 GB, free: 4.664 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 (20): * Single equations (assignments): 20 * 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.0002418/0.3555, allocations: 217.1 kB / 0.5428 GB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.3557, allocations: 70.97 kB / 0.5429 GB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008865/0.3565, allocations: 402.2 kB / 0.5432 GB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.3566, allocations: 2.062 kB / 0.5432 GB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3566, allocations: 1.094 kB / 0.5433 GB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3566, allocations: 1.125 kB / 0.5433 GB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.3581, allocations: 0.9794 MB / 0.5442 GB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3581, allocations: 0 / 0.5442 GB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.3584, allocations: 51.95 kB / 0.5443 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3584, allocations: 4 kB / 0.5443 GB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.3584, allocations: 4.094 kB / 0.5443 GB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.3584, allocations: 11.88 kB / 0.5443 GB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.3585, allocations: 7.984 kB / 0.5443 GB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008527/0.3593, allocations: 0.5138 MB / 0.5448 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.3595, allocations: 152.7 kB / 0.5449 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-05/0.3595, allocations: 8 kB / 0.5449 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.3598, allocations: 27.91 kB / 0.545 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.3599, allocations: 15.97 kB / 0.545 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.3599, allocations: 8 kB / 0.545 GB, free: 2.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008005/0.3607, allocations: 0.6825 MB / 0.5457 GB, free: 1.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3607, allocations: 0 / 0.5457 GB, free: 1.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003819/0.3611, allocations: 60 kB / 0.5457 GB, free: 1.836 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 (20): * Single equations (assignments): 20 * 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.002538/0.3637, allocations: 1.352 MB / 0.547 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007118/0.3644, allocations: 271.6 kB / 0.5473 GB, free: 336 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3644, allocations: 0 / 0.5473 GB, free: 336 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003356/0.3647, allocations: 140.4 kB / 0.5474 GB, free: 196 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.3654, allocations: 95.34 kB / 0.5475 GB, free: 108 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007633/0.373, allocations: 5.513 MB / 0.5529 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005883/0.3736, allocations: 0.8915 MB / 0.5538 GB, free: 9.574 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002852/0.3739, allocations: 107.2 kB / 0.5539 GB, free: 9.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002922/0.3742, allocations: 191.4 kB / 0.5541 GB, free: 9.281 MB / 414.1 MB Notification: Performance of SimCode: time 2.615e-06/0.3742, allocations: 0 / 0.5541 GB, free: 9.281 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03391/0.4082, allocations: 10.71 MB / 0.5645 GB, free: 14.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.936/9.344, allocations: 16.8 kB / 0.5645 GB, free: 14.64 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches