Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.001972/0.001972, allocations: 114 kB / 20.43 MB, free: 1.457 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.002488/0.002488, allocations: 214.7 kB / 23.75 MB, free: 4.672 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.486/1.486, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2371/0.2371, allocations: 46.92 MB / 360.8 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.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002528/0.002528, allocations: 79.86 kB / 0.4962 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3176, allocations: 66.09 MB / 0.5608 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003201/0.3208, allocations: 1.601 MB / 0.5623 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.3218, allocations: 0.5577 MB / 0.5629 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.3219, allocations: 4 kB / 0.5629 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.3221, allocations: 35.72 kB / 0.5629 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.3223, allocations: 79.67 kB / 0.563 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.3227, allocations: 111 kB / 0.5631 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.3228, allocations: 71.77 kB / 0.5632 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.358e-05/0.3229, allocations: 9.828 kB / 0.5632 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.881e-05/0.323, allocations: 31.84 kB / 0.5632 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.396e-05/0.323, allocations: 15.92 kB / 0.5632 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.323, allocations: 7.938 kB / 0.5632 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.428e-05/0.3231, allocations: 32 kB / 0.5632 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.3232, allocations: 19.91 kB / 0.5633 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.3232, allocations: 27.75 kB / 0.5633 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.3234, allocations: 83.66 kB / 0.5634 GB, free: 1.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3234, allocations: 0 / 0.5634 GB, free: 1.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3234, allocations: 4 kB / 0.5634 GB, free: 1.602 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.3234, allocations: 0 / 0.5634 GB, free: 1.602 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.0004791/0.3239, allocations: 321.8 kB / 0.5637 GB, free: 1.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3239, allocations: 8.031 kB / 0.5637 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.324, allocations: 30.75 kB / 0.5637 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.324, allocations: 12.84 kB / 0.5637 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.3242, allocations: 146.8 kB / 0.5639 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.3242, allocations: 384 / 0.5639 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.3242, allocations: 8.375 kB / 0.5639 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.3243, allocations: 57.61 kB / 0.5639 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3244, allocations: 0 / 0.5639 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.3244, allocations: 0 / 0.5639 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.3244, allocations: 0 / 0.5639 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.183e-05/0.3245, allocations: 23.97 kB / 0.564 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.3249, allocations: 263.9 kB / 0.5642 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.3251, allocations: 42.56 kB / 0.5642 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.305e-05/0.3251, allocations: 20.94 kB / 0.5643 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.3251, allocations: 0 / 0.5643 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.3252, allocations: 30.56 kB / 0.5643 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.3252, allocations: 0 / 0.5643 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005701/0.3257, allocations: 157.4 kB / 0.5644 GB, free: 368 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.3258, allocations: 55.41 kB / 0.5645 GB, free: 300 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.326, allocations: 174.5 kB / 0.5647 GB, free: 108 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.326, allocations: 25.7 kB / 0.5647 GB, free: 76 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.93e-05/0.3261, allocations: 100.1 kB / 0.5648 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.3261, allocations: 19.88 kB / 0.5648 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.3262, allocations: 17.72 kB / 0.5648 GB, free: 15.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3263, allocations: 326.8 kB / 0.5651 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.482e-05/0.3264, allocations: 23.98 kB / 0.5652 GB, free: 15.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.591e-05/0.3265, allocations: 27.86 kB / 0.5652 GB, free: 15.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.3266, allocations: 48.83 kB / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3266, allocations: 11.92 kB / 0.5652 GB, free: 15.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001982/0.3268, allocations: 85.58 kB / 0.5653 GB, free: 15.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.3268, allocations: 8 kB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3268, allocations: 4 kB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3268, allocations: 0 / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.57e-05/0.3269, allocations: 11.98 kB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3269, allocations: 0 / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.149e-05/0.327, allocations: 7.984 kB / 0.5654 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.327, allocations: 3.938 kB / 0.5654 GB, free: 15.36 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 9.696e-05/0.3271, allocations: 123.1 kB / 0.5655 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.3271, allocations: 7.953 kB / 0.5655 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.3274, allocations: 102 kB / 0.5656 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3274, allocations: 0 / 0.5656 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3274, allocations: 320 / 0.5656 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.3274, allocations: 4 kB / 0.5656 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004777/0.3278, allocations: 337.5 kB / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3278, allocations: 0 / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.142e-05/0.3279, allocations: 19.98 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3279, allocations: 0 / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.3279, allocations: 0 / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3279, allocations: 3.938 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3279, allocations: 4 kB / 0.5659 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.3282, allocations: 179.4 kB / 0.5661 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.559e-05/0.3282, allocations: 11.91 kB / 0.5661 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.3282, allocations: 4 kB / 0.5661 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.439e-05/0.3283, allocations: 15.92 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.3283, allocations: 4 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.3283, allocations: 0 / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.3284, allocations: 139.9 kB / 0.5663 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3284, allocations: 4 kB / 0.5663 GB, free: 14.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.3287, allocations: 11.94 kB / 0.5663 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.001933/0.3306, allocations: 1.013 MB / 0.5673 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.3308, allocations: 59.84 kB / 0.5673 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3308, allocations: 0 / 0.5673 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.202e-05/0.3309, allocations: 31.97 kB / 0.5674 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.0003398/0.3312, allocations: 25.92 kB / 0.5674 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.3331, allocations: 1.509 MB / 0.5689 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.3334, allocations: 0.7002 MB / 0.5695 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.183e-05/0.3335, allocations: 20.05 kB / 0.5696 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.497e-05/0.3335, allocations: 27.42 kB / 0.5696 GB, free: 10.95 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3335, allocations: 0 / 0.5696 GB, free: 10.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.3618, allocations: 2.828 MB / 0.5724 GB, free: 8.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.66, allocations: 8.047 kB / 0.5724 GB, free: 8.152 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.672306393971667]