Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.00117, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001843/0.001843, allocations: 201.2 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.406/1.406, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2198/0.2198, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 72.11 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3453, allocations: 62.45 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.00345/0.3488, allocations: 1.678 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.3499, allocations: 0.5753 MB / 0.5327 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.09e-05/0.35, allocations: 1.375 kB / 0.5327 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.3503, allocations: 64.47 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.3507, allocations: 97.28 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005303/0.3512, allocations: 180.4 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.3515, allocations: 89.88 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.3516, allocations: 26.33 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.226e-05/0.3517, allocations: 36.23 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.3518, allocations: 49.06 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.3519, allocations: 4.438 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.352, allocations: 49.08 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.087e-05/0.3521, allocations: 25.77 kB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.278e-05/0.3522, allocations: 42.44 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.3524, allocations: 123.1 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3525, allocations: 1.062 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3525, allocations: 0 / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.3525, allocations: 0 / 0.5335 GB, free: 11.17 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006439/0.3531, allocations: 430.9 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.3532, allocations: 9.062 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/0.3532, allocations: 36.66 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.3533, allocations: 10.59 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.3535, allocations: 208.2 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.3535, allocations: 10.19 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.3536, allocations: 12.14 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.3538, allocations: 64.05 kB / 0.5342 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3538, allocations: 1.562 kB / 0.5342 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3538, allocations: 3.938 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.3538, allocations: 1.625 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.354, allocations: 45.05 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.3545, allocations: 333.9 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.3548, allocations: 56.05 kB / 0.5347 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.492e-05/0.3549, allocations: 29.33 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.355, allocations: 1.375 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.355, allocations: 43.97 kB / 0.5347 GB, free: 9.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.355, allocations: 0 / 0.5347 GB, free: 9.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001499/0.3565, allocations: 438.2 kB / 0.5352 GB, free: 9.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.3566, allocations: 52.78 kB / 0.5352 GB, free: 9.637 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.3568, allocations: 199 kB / 0.5354 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.3568, allocations: 31.08 kB / 0.5354 GB, free: 9.461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.819e-05/0.3569, allocations: 100.8 kB / 0.5355 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.749e-05/0.3569, allocations: 40.83 kB / 0.5356 GB, free: 9.328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/0.357, allocations: 22.25 kB / 0.5356 GB, free: 9.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3571, allocations: 322 kB / 0.5359 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.3573, allocations: 57.2 kB / 0.5359 GB, free: 8.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.3574, allocations: 56.98 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.3577, allocations: 128.5 kB / 0.5361 GB, free: 8.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3577, allocations: 0 / 0.5361 GB, free: 8.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003585/0.3581, allocations: 173.1 kB / 0.5363 GB, free: 8.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3581, allocations: 8.625 kB / 0.5363 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3581, allocations: 1.125 kB / 0.5363 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3582, allocations: 3.938 kB / 0.5363 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.3583, allocations: 25.17 kB / 0.5363 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3583, allocations: 0 / 0.5363 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.694e-05/0.3584, allocations: 10.92 kB / 0.5363 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.3584, allocations: 2.156 kB / 0.5363 GB, free: 8.75 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 (11): * Single equations (assignments): 11 * 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.0001334/0.3585, allocations: 141.7 kB / 0.5365 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.3586, allocations: 9.531 kB / 0.5365 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004638/0.359, allocations: 187.3 kB / 0.5367 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.3591, allocations: 5.031 kB / 0.5367 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3591, allocations: 1.031 kB / 0.5367 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3591, allocations: 0 / 0.5367 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007763/0.3599, allocations: 0.5111 MB / 0.5372 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.3599, allocations: 0 / 0.5372 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.36, allocations: 28.58 kB / 0.5372 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.36, allocations: 1.406 kB / 0.5372 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.36, allocations: 6.281 kB / 0.5372 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.36, allocations: 1.906 kB / 0.5372 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.36, allocations: 9.875 kB / 0.5372 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004226/0.3605, allocations: 275.4 kB / 0.5375 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/0.3605, allocations: 89.12 kB / 0.5376 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.3606, allocations: 10.78 kB / 0.5376 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.833e-05/0.3607, allocations: 9.891 kB / 0.5376 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.3607, allocations: 12.55 kB / 0.5376 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.3607, allocations: 7.281 kB / 0.5376 GB, free: 7.664 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.3609, allocations: 153.8 kB / 0.5377 GB, free: 7.559 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3609, allocations: 0 / 0.5377 GB, free: 7.559 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003238/0.3612, allocations: 31.94 kB / 0.5378 GB, free: 7.547 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001669/0.3629, allocations: 1.153 MB / 0.5389 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000386/0.3633, allocations: 132 kB / 0.539 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3633, allocations: 0 / 0.539 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.3635, allocations: 75.67 kB / 0.5391 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.3639, allocations: 22.95 kB / 0.5391 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.3664, allocations: 1.932 MB / 0.541 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.3668, allocations: 0.7124 MB / 0.5417 GB, free: 4.262 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.3669, allocations: 34.8 kB / 0.5417 GB, free: 4.246 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.863e-05/0.367, allocations: 44.17 kB / 0.5418 GB, free: 4.211 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.367, allocations: 0 / 0.5418 GB, free: 4.211 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.3895, allocations: 3.569 MB / 0.5453 GB, free: 2.281 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/8.17, allocations: 10.17 kB / 0.5453 GB, free: 2.273 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches