Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001121/0.001121, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001225/0.001225, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2262/0.2262, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 79.06 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1432, allocations: 62.44 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.00454/0.1478, allocations: 1.618 MB / 481.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.149, allocations: 0.5455 MB / 482.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.256e-05/0.1491, allocations: 0 / 482.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.1495, allocations: 75.77 kB / 482.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.1498, allocations: 103.6 kB / 482.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.1502, allocations: 115 kB / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.1503, allocations: 75.88 kB / 482.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1505, allocations: 12 kB / 482.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.659e-05/0.1505, allocations: 47.77 kB / 482.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.1507, allocations: 47.83 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.1507, allocations: 4 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1508, allocations: 43.98 kB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.773e-05/0.1509, allocations: 23.92 kB / 482.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.285e-05/0.1509, allocations: 31.73 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.1511, allocations: 96 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1511, allocations: 0 / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1511, allocations: 0 / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.1511, allocations: 0 / 483 MB, free: 2.332 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000524/0.1517, allocations: 419 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1517, allocations: 8.031 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.1517, allocations: 34.75 kB / 483.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.1518, allocations: 20.69 kB / 483.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.152, allocations: 192.1 kB / 483.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.152, allocations: 4.375 kB / 483.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.152, allocations: 384 / 483.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.1522, allocations: 65.55 kB / 483.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1522, allocations: 0 / 483.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.1522, allocations: 4 kB / 483.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1522, allocations: 0 / 483.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.1524, allocations: 31.91 kB / 483.7 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.1528, allocations: 304.7 kB / 484 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.1529, allocations: 42.55 kB / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.277e-05/0.153, allocations: 24.8 kB / 484.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.153, allocations: 4 kB / 484.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.153, allocations: 34.64 kB / 484.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.153, allocations: 0 / 484.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009245/0.154, allocations: 237.5 kB / 484.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.154, allocations: 51.41 kB / 484.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.1543, allocations: 207.3 kB / 484.6 MB, free: 488 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.1544, allocations: 29.7 kB / 484.6 MB, free: 452 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.281e-05/0.1544, allocations: 100.1 kB / 484.7 MB, free: 348 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.1545, allocations: 31.56 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.1545, allocations: 21.7 kB / 484.8 MB, free: 288 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1547, allocations: 330.8 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.95e-05/0.1548, allocations: 23.98 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.003e-05/0.1548, allocations: 36.03 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.155, allocations: 76.77 kB / 485.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.155, allocations: 0 / 485.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000213/0.1552, allocations: 117.8 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.731e-05/0.1553, allocations: 4 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1553, allocations: 0 / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.1553, allocations: 3.984 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.1555, allocations: 23.94 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.1555, allocations: 3.938 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.1555, allocations: 7.984 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.1555, allocations: 4 kB / 485.4 MB, free: 15.64 MB / 366.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 (8): * Single equations (assignments): 8 * 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.0001036/0.1556, allocations: 133.8 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.1557, allocations: 15.81 kB / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.156, allocations: 123 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.156, allocations: 0 / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.156, allocations: 3.938 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.156, allocations: 3.984 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005181/0.1565, allocations: 419.3 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1565, allocations: 0 / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-05/0.1566, allocations: 23.88 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1566, allocations: 0 / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1566, allocations: 7.984 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1567, allocations: 3.938 kB / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1567, allocations: 4 kB / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.1569, allocations: 220.2 kB / 486.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/0.157, allocations: 84.95 kB / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.157, allocations: 4 kB / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.199e-05/0.1571, allocations: 7.984 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.1571, allocations: 0 / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.1571, allocations: 11.98 kB / 486.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.1573, allocations: 148 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.084e-06/0.1573, allocations: 4 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.1575, allocations: 27.92 kB / 486.6 MB, free: 14.31 MB / 366.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 (8): * Single equations (assignments): 8 * 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.001499/0.159, allocations: 1.093 MB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.1593, allocations: 79.88 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1593, allocations: 0 / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.452e-05/0.1594, allocations: 43.92 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.1597, allocations: 15.98 kB / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.1616, allocations: 1.672 MB / 489.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.1619, allocations: 0.7041 MB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.428e-05/0.162, allocations: 24.95 kB / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.871e-05/0.162, allocations: 35.42 kB / 490.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.162, allocations: 0 / 490.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.1842, allocations: 3.017 MB / 493.3 MB, free: 7.719 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.431/7.616, allocations: 17.47 kB / 493.3 MB, free: 7.711 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches