Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.001257/0.001257, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001432/0.001432, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.388/1.388, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2207/0.2207, allocations: 46.93 MB / 361.6 MB, free: 4.176 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.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 79.88 kB / 0.497 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3267, allocations: 66.08 MB / 0.5615 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.004305/0.331, allocations: 1.612 MB / 0.5631 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.3327, allocations: 0.5732 MB / 0.5637 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.548e-05/0.3328, allocations: 0 / 0.5637 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.3331, allocations: 19.86 kB / 0.5637 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000426/0.3335, allocations: 83.61 kB / 0.5638 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.3339, allocations: 98.94 kB / 0.5638 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.3341, allocations: 71.78 kB / 0.5639 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3343, allocations: 10.09 kB / 0.5639 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.655e-05/0.3344, allocations: 35.84 kB / 0.564 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.3345, allocations: 31.86 kB / 0.564 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.3345, allocations: 4 kB / 0.564 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002833/0.3348, allocations: 107.9 kB / 0.5641 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.3348, allocations: 8 kB / 0.5641 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.092e-05/0.3349, allocations: 35.78 kB / 0.5641 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004252/0.3353, allocations: 159.4 kB / 0.5643 GB, free: 1.578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3353, allocations: 0 / 0.5643 GB, free: 1.578 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3353, allocations: 0 / 0.5643 GB, free: 1.578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.3353, allocations: 0 / 0.5643 GB, free: 1.578 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007485/0.3361, allocations: 341.5 kB / 0.5646 GB, free: 1.211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.3361, allocations: 8.031 kB / 0.5646 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.701e-05/0.3362, allocations: 4.188 kB / 0.5646 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.497e-05/0.3362, allocations: 34.75 kB / 0.5647 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.705e-05/0.3363, allocations: 8.891 kB / 0.5647 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.3366, allocations: 138.4 kB / 0.5648 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.3366, allocations: 4.375 kB / 0.5648 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.3367, allocations: 384 / 0.5648 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.3369, allocations: 79.58 kB / 0.5649 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.3369, allocations: 4 kB / 0.5649 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3369, allocations: 0 / 0.5649 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3369, allocations: 0 / 0.5649 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.3371, allocations: 31.97 kB / 0.5649 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005287/0.3376, allocations: 275.9 kB / 0.5652 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.3377, allocations: 58.48 kB / 0.5652 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.372e-05/0.3378, allocations: 24.97 kB / 0.5653 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.3378, allocations: 4 kB / 0.5653 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.3379, allocations: 34.56 kB / 0.5653 GB, free: 416 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.3379, allocations: 0 / 0.5653 GB, free: 416 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007596/0.3386, allocations: 185.4 kB / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/0.3387, allocations: 85.11 kB / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.3389, allocations: 156.8 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.339, allocations: 25.7 kB / 0.5657 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.951e-05/0.339, allocations: 100.1 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.3391, allocations: 23.8 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.3391, allocations: 21.7 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3393, allocations: 326.8 kB / 0.5662 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.766e-05/0.3394, allocations: 31.98 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.3395, allocations: 53.62 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.3397, allocations: 68.77 kB / 0.5663 GB, free: 15.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3397, allocations: 0 / 0.5663 GB, free: 15.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002702/0.3399, allocations: 125.6 kB / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.34, allocations: 4 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.34, allocations: 4.031 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.34, allocations: 0 / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.3401, allocations: 23.98 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3401, allocations: 0 / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.309e-05/0.3402, allocations: 4 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.3402, allocations: 4 kB / 0.5665 GB, free: 15.11 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 (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 prepare postOptimizeDAE: time 0.00012/0.3403, allocations: 125.7 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.403e-05/0.3404, allocations: 7.953 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.3407, allocations: 122.3 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3407, allocations: 0 / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3407, allocations: 0 / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3407, allocations: 0 / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005711/0.3413, allocations: 377.4 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3413, allocations: 0 / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.515e-05/0.3413, allocations: 19.98 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3413, allocations: 0 / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3414, allocations: 4 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.3414, allocations: 4.312 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.3414, allocations: 3.938 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.3417, allocations: 195.5 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/0.3417, allocations: 15.95 kB / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.3417, allocations: 4 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.897e-05/0.3418, allocations: 11.92 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.3418, allocations: 3.984 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.3418, allocations: 4 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.342, allocations: 115.3 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.342, allocations: 0 / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003177/0.3423, allocations: 43.86 kB / 0.5675 GB, free: 13.99 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 (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.002404/0.3447, allocations: 1.128 MB / 0.5686 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.345, allocations: 67.95 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.345, allocations: 3.938 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.3451, allocations: 39.97 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.3455, allocations: 22.5 kB / 0.5687 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.3476, allocations: 1.565 MB / 0.5703 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.3479, allocations: 0.7 MB / 0.5709 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.348, allocations: 28.55 kB / 0.571 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.081e-05/0.3481, allocations: 27.42 kB / 0.571 GB, free: 10.45 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3481, allocations: 4 kB / 0.571 GB, free: 10.44 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.3712, allocations: 3.76 MB / 0.5747 GB, free: 6.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.02, allocations: 11.25 kB / 0.5747 GB, free: 6.688 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.920566382992547]