Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_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.001318/0.001318, allocations: 111.1 kB / 20.44 MB, free: 1.332 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.001503/0.001503, allocations: 214.7 kB / 23.73 MB, free: 4.508 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.369/1.369, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.2136/0.2136, allocations: 46.94 MB / 360.8 MB, free: 3.949 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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 83.84 kB / 0.4962 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3075, allocations: 66.08 MB / 0.5607 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003022/0.3105, allocations: 1.593 MB / 0.5623 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.3116, allocations: 0.5382 MB / 0.5628 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.337e-05/0.3117, allocations: 3.938 kB / 0.5628 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.3119, allocations: 31.78 kB / 0.5628 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.3122, allocations: 75.62 kB / 0.5629 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.3125, allocations: 115 kB / 0.563 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.3127, allocations: 75.81 kB / 0.5631 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3128, allocations: 9.828 kB / 0.5631 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.218e-05/0.3129, allocations: 35.8 kB / 0.5631 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.389e-05/0.3129, allocations: 31.84 kB / 0.5632 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.313, allocations: 4 kB / 0.5632 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.3131, allocations: 91.94 kB / 0.5632 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.688e-05/0.3132, allocations: 19.86 kB / 0.5633 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.3132, allocations: 15.88 kB / 0.5633 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.3135, allocations: 143.5 kB / 0.5634 GB, free: 1.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3135, allocations: 0 / 0.5634 GB, free: 1.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3135, allocations: 0 / 0.5634 GB, free: 1.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3135, allocations: 4 kB / 0.5634 GB, free: 1.266 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.0005282/0.314, allocations: 337.6 kB / 0.5637 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3141, allocations: 8.031 kB / 0.5637 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.05e-05/0.3141, allocations: 42.69 kB / 0.5638 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.3142, allocations: 8.875 kB / 0.5638 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.3144, allocations: 140.6 kB / 0.5639 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3144, allocations: 4.375 kB / 0.5639 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.3144, allocations: 4.375 kB / 0.5639 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.3146, allocations: 81.67 kB / 0.564 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3146, allocations: 3.938 kB / 0.564 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.3146, allocations: 12 kB / 0.564 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3146, allocations: 0 / 0.564 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.54e-05/0.3147, allocations: 27.91 kB / 0.5641 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.3151, allocations: 248 kB / 0.5643 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.3153, allocations: 54.48 kB / 0.5643 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.3153, allocations: 20.94 kB / 0.5644 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.3153, allocations: 8 kB / 0.5644 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.3154, allocations: 38.5 kB / 0.5644 GB, free: 104 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3154, allocations: 0 / 0.5644 GB, free: 104 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006297/0.316, allocations: 181.3 kB / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.3161, allocations: 81.11 kB / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.3162, allocations: 157.5 kB / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.3163, allocations: 25.7 kB / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.3163, allocations: 96.08 kB / 0.5649 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.3163, allocations: 31.77 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.3164, allocations: 29.72 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3165, allocations: 322.8 kB / 0.5653 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.126e-05/0.3166, allocations: 23.98 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.3167, allocations: 71.39 kB / 0.5654 GB, free: 15.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.3169, allocations: 73.03 kB / 0.5655 GB, free: 14.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3169, allocations: 4 kB / 0.5655 GB, free: 14.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002245/0.3171, allocations: 109.6 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3172, allocations: 4 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3172, allocations: 0 / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3172, allocations: 4 kB / 0.5656 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.3173, allocations: 19.98 kB / 0.5656 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3173, allocations: 0 / 0.5656 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.818e-05/0.3173, allocations: 7.984 kB / 0.5656 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3173, allocations: 4 kB / 0.5656 GB, free: 14.8 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 (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 9.693e-05/0.3174, allocations: 117.8 kB / 0.5657 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.3175, allocations: 7.953 kB / 0.5657 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.3177, allocations: 122.3 kB / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3177, allocations: 0 / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3177, allocations: 4 kB / 0.5658 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3178, allocations: 3.984 kB / 0.5658 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005211/0.3183, allocations: 353.5 kB / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3183, allocations: 0 / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.591e-05/0.3183, allocations: 15.98 kB / 0.5662 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3183, allocations: 4 kB / 0.5662 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3184, allocations: 4 kB / 0.5662 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.3184, allocations: 7.938 kB / 0.5662 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3184, allocations: 288 / 0.5662 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.3186, allocations: 203.4 kB / 0.5664 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.3186, allocations: 7.938 kB / 0.5664 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.3187, allocations: 4 kB / 0.5664 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.3187, allocations: 7.875 kB / 0.5664 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.3188, allocations: 11.98 kB / 0.5664 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.3188, allocations: 4 kB / 0.5664 GB, free: 13.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.3189, allocations: 117.3 kB / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3189, allocations: 0 / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.3192, allocations: 43.86 kB / 0.5666 GB, free: 13.7 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 (7): * Single equations (assignments): 7 * 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.002265/0.3214, allocations: 1.154 MB / 0.5677 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.3217, allocations: 63.95 kB / 0.5678 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3217, allocations: 4 kB / 0.5678 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.709e-05/0.3218, allocations: 31.92 kB / 0.5678 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.3221, allocations: 29.55 kB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.3239, allocations: 1.523 MB / 0.5693 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.351e-05/0.3239, allocations: 87.2 kB / 0.5694 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.936e-05/0.324, allocations: 24.62 kB / 0.5694 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.944e-05/0.3241, allocations: 31.42 kB / 0.5695 GB, free: 10.81 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3241, allocations: 0 / 0.5695 GB, free: 10.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0285/0.3526, allocations: 4.115 MB / 0.5735 GB, free: 6.688 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.01, allocations: 4.062 kB / 0.5735 GB, free: 6.684 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_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: 13.77845552098006]