Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001353/0.001353, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001517/0.001517, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.406/1.406, allocations: 230.5 MB / 257.4 MB, free: 7.805 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.2284/0.2284, allocations: 46.95 MB / 360.8 MB, free: 3.945 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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 79.88 kB / 0.4962 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3251, allocations: 66.08 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003115/0.3282, allocations: 1.6 MB / 0.5623 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.3292, allocations: 0.5148 MB / 0.5628 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.3293, allocations: 4 kB / 0.5628 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.3295, allocations: 23.86 kB / 0.5628 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.3297, allocations: 79.61 kB / 0.5629 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.33, allocations: 91.08 kB / 0.563 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.3302, allocations: 71.77 kB / 0.563 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.904e-05/0.3303, allocations: 9.828 kB / 0.563 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.125e-05/0.3303, allocations: 23.86 kB / 0.5631 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.958e-05/0.3304, allocations: 19.91 kB / 0.5631 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.3304, allocations: 4 kB / 0.5631 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.569e-05/0.3304, allocations: 35.94 kB / 0.5631 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.859e-05/0.3305, allocations: 11.98 kB / 0.5631 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.3305, allocations: 11.88 kB / 0.5631 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.3307, allocations: 95.52 kB / 0.5632 GB, free: 1.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3307, allocations: 4 kB / 0.5632 GB, free: 1.434 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3307, allocations: 0 / 0.5632 GB, free: 1.434 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.3307, allocations: 0 / 0.5632 GB, free: 1.434 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00047/0.3312, allocations: 301.9 kB / 0.5635 GB, free: 1.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3313, allocations: 16.02 kB / 0.5635 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.874e-05/0.3313, allocations: 30.75 kB / 0.5636 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.3313, allocations: 12.89 kB / 0.5636 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.3315, allocations: 128.6 kB / 0.5637 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3315, allocations: 4.359 kB / 0.5637 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.3316, allocations: 4.375 kB / 0.5637 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.3317, allocations: 58.17 kB / 0.5638 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3317, allocations: 3.938 kB / 0.5638 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.3317, allocations: 0 / 0.5638 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3317, allocations: 0 / 0.5638 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.874e-05/0.3318, allocations: 19.98 kB / 0.5638 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.3322, allocations: 251.9 kB / 0.564 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.3324, allocations: 42.5 kB / 0.5641 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.3324, allocations: 20.94 kB / 0.5641 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.3324, allocations: 0 / 0.5641 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.3325, allocations: 34.5 kB / 0.5641 GB, free: 400 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.3325, allocations: 0 / 0.5641 GB, free: 400 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000579/0.3331, allocations: 137.4 kB / 0.5642 GB, free: 256 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.3331, allocations: 59.41 kB / 0.5643 GB, free: 184 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.3333, allocations: 156.8 kB / 0.5645 GB, free: 16 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.3333, allocations: 25.7 kB / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.3333, allocations: 100.1 kB / 0.5646 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.3334, allocations: 19.86 kB / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.3334, allocations: 13.72 kB / 0.5646 GB, free: 15.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3336, allocations: 322.8 kB / 0.5649 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.04e-05/0.3336, allocations: 19.98 kB / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.846e-05/0.3337, allocations: 19.98 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.3338, allocations: 52.77 kB / 0.565 GB, free: 15.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3338, allocations: 0 / 0.565 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002086/0.334, allocations: 81.81 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.334, allocations: 8 kB / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3341, allocations: 0 / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3341, allocations: 0 / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.15e-05/0.3342, allocations: 11.98 kB / 0.5651 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.3342, allocations: 0 / 0.5651 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.418e-05/0.3342, allocations: 8 kB / 0.5651 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.3342, allocations: 7.984 kB / 0.5651 GB, free: 15.3 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 (5): * Single equations (assignments): 5 * 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.0001059/0.3343, allocations: 117.8 kB / 0.5652 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.3344, allocations: 7.953 kB / 0.5652 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.3346, allocations: 94 kB / 0.5653 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3346, allocations: 0 / 0.5653 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3346, allocations: 0 / 0.5653 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3346, allocations: 0 / 0.5653 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.3351, allocations: 317.5 kB / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3351, allocations: 0 / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.448e-05/0.3351, allocations: 12 kB / 0.5656 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3351, allocations: 0 / 0.5656 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.3352, allocations: 3.984 kB / 0.5656 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3352, allocations: 0 / 0.5656 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3352, allocations: 3.938 kB / 0.5656 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.3354, allocations: 179.4 kB / 0.5658 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.3354, allocations: 7.953 kB / 0.5658 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.3354, allocations: 8.25 kB / 0.5658 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.3355, allocations: 7.984 kB / 0.5658 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.3355, allocations: 8.219 kB / 0.5658 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.3355, allocations: 0 / 0.5658 GB, free: 14.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.3357, allocations: 123.2 kB / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3357, allocations: 0 / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.3359, allocations: 15.94 kB / 0.566 GB, free: 14.32 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 (5): * Single equations (assignments): 5 * 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.002068/0.338, allocations: 1.038 MB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.3382, allocations: 51.91 kB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.3382, allocations: 0 / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.481e-05/0.3383, allocations: 23.98 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.3386, allocations: 19.92 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.3403, allocations: 1.437 MB / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.681e-05/0.3404, allocations: 83.06 kB / 0.5686 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.18e-05/0.3404, allocations: 11.84 kB / 0.5686 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.3405, allocations: 23.42 kB / 0.5686 GB, free: 11.66 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3405, allocations: 4 kB / 0.5686 GB, free: 11.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02893/0.3694, allocations: 3.107 MB / 0.5716 GB, free: 8.566 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.96, allocations: 7.594 kB / 0.5716 GB, free: 8.562 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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: 13.831456482876092]