Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001392, allocations: 209.5 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 230.5 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.216/0.216, allocations: 46.95 MB / 361.6 MB, free: 3.938 MB / 286.1 MB " [Timeout remaining time 180] 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.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 79.88 kB / 0.4969 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3338, allocations: 66.07 MB / 0.5614 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003281/0.3371, allocations: 1.68 MB / 0.5631 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.3382, allocations: 0.5771 MB / 0.5637 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.3383, allocations: 4 kB / 0.5637 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.3385, allocations: 23.8 kB / 0.5637 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.3387, allocations: 87.55 kB / 0.5638 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.3392, allocations: 186.8 kB / 0.5639 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.3393, allocations: 103.6 kB / 0.564 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3394, allocations: 21.78 kB / 0.5641 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.914e-05/0.3395, allocations: 35.86 kB / 0.5641 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.623e-05/0.3396, allocations: 47.77 kB / 0.5641 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.3396, allocations: 8 kB / 0.5641 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.3398, allocations: 95.89 kB / 0.5642 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.804e-05/0.3399, allocations: 27.89 kB / 0.5643 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.201e-05/0.3399, allocations: 31.81 kB / 0.5643 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.3402, allocations: 175.4 kB / 0.5645 GB, free: 0.957 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3402, allocations: 0 / 0.5645 GB, free: 0.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3402, allocations: 0 / 0.5645 GB, free: 0.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.537e-06/0.3402, allocations: 0 / 0.5645 GB, free: 0.957 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006835/0.3409, allocations: 377.3 kB / 0.5648 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3409, allocations: 8.031 kB / 0.5648 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.565e-05/0.341, allocations: 4.188 kB / 0.5648 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.894e-05/0.341, allocations: 38.73 kB / 0.5649 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.3411, allocations: 12.89 kB / 0.5649 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.3413, allocations: 150.3 kB / 0.565 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.3413, allocations: 384 / 0.565 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.3413, allocations: 4.375 kB / 0.565 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.3416, allocations: 121.4 kB / 0.5651 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3416, allocations: 3.938 kB / 0.5652 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3417, allocations: 0 / 0.5652 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3417, allocations: 0 / 0.5652 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.342, allocations: 79.91 kB / 0.5652 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006336/0.3426, allocations: 303.8 kB / 0.5655 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.3428, allocations: 78.41 kB / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.343, allocations: 48.94 kB / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.343, allocations: 4 kB / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.3431, allocations: 34.56 kB / 0.5657 GB, free: 15.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3431, allocations: 0 / 0.5657 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001622/0.3447, allocations: 413.1 kB / 0.5661 GB, free: 15.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.3448, allocations: 85.09 kB / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.3449, allocations: 162.2 kB / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.345, allocations: 25.7 kB / 0.5663 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.345, allocations: 104.1 kB / 0.5664 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.3451, allocations: 31.69 kB / 0.5665 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.474e-05/0.3451, allocations: 33.64 kB / 0.5665 GB, free: 14.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3453, allocations: 326.8 kB / 0.5668 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.3455, allocations: 79.92 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.3459, allocations: 123.3 kB / 0.567 GB, free: 14.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005474/0.3464, allocations: 164.7 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3464, allocations: 0 / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006118/0.347, allocations: 209.7 kB / 0.5674 GB, free: 13.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.347, allocations: 8 kB / 0.5674 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.347, allocations: 96 / 0.5674 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.3471, allocations: 3.938 kB / 0.5674 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.3473, allocations: 48.27 kB / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3473, allocations: 0 / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.3474, allocations: 27.86 kB / 0.5674 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.3474, allocations: 8 kB / 0.5674 GB, free: 13.67 MB / 414.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 (10): * Single equations (assignments): 10 * 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.0001187/0.3476, allocations: 129.8 kB / 0.5676 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.3476, allocations: 7.953 kB / 0.5676 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006731/0.3483, allocations: 218.2 kB / 0.5678 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3483, allocations: 8 kB / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3483, allocations: 0 / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.3483, allocations: 3.938 kB / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009724/0.3493, allocations: 477.4 kB / 0.5683 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3493, allocations: 0 / 0.5683 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.3495, allocations: 43.89 kB / 0.5683 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3495, allocations: 3.938 kB / 0.5683 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3495, allocations: 0 / 0.5683 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.3495, allocations: 4 kB / 0.5683 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3495, allocations: 0 / 0.5683 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006553/0.3501, allocations: 299.3 kB / 0.5686 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.3502, allocations: 19.89 kB / 0.5686 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.3502, allocations: 7.938 kB / 0.5686 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.3504, allocations: 31.89 kB / 0.5686 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.3504, allocations: 8.266 kB / 0.5687 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.3504, allocations: 8 kB / 0.5687 GB, free: 12.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.3506, allocations: 123.2 kB / 0.5688 GB, free: 12.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3506, allocations: 3.938 kB / 0.5688 GB, free: 12.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003025/0.3509, allocations: 51.86 kB / 0.5688 GB, free: 12.16 MB / 414.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 (9): * Single equations (assignments): 9 * 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.002736/0.3536, allocations: 1.258 MB / 0.5701 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006456/0.3542, allocations: 175.7 kB / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3542, allocations: 4 kB / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002907/0.3545, allocations: 91.84 kB / 0.5703 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.3549, allocations: 15.98 kB / 0.5703 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.3579, allocations: 1.936 MB / 0.5722 GB, free: 8.766 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.997e-05/0.358, allocations: 96.8 kB / 0.5723 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.3581, allocations: 36.45 kB / 0.5724 GB, free: 8.617 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.3582, allocations: 35.42 kB / 0.5724 GB, free: 8.582 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3582, allocations: 0 / 0.5724 GB, free: 8.582 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.383, allocations: 4.748 MB / 0.577 GB, free: 3.852 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.27, allocations: 4.172 kB / 0.577 GB, free: 3.848 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.174633768969215]