Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001324/0.001324, allocations: 116.4 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.001791/0.001791, allocations: 215.1 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.462/1.462, allocations: 230.5 MB / 257.4 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.2272/0.2272, allocations: 46.93 MB / 360.8 MB, free: 4.199 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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 79.86 kB / 0.4962 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3019, allocations: 66.09 MB / 0.5608 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003071/0.305, allocations: 1.629 MB / 0.5623 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.3061, allocations: 0.5693 MB / 0.5629 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.039e-05/0.3061, allocations: 0 / 0.5629 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003098/0.3065, allocations: 119.6 kB / 0.563 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.3067, allocations: 111.6 kB / 0.5631 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.307, allocations: 119 kB / 0.5632 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.3072, allocations: 91.75 kB / 0.5633 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.313e-05/0.3073, allocations: 13.81 kB / 0.5633 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.72e-05/0.3074, allocations: 39.89 kB / 0.5634 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.3075, allocations: 71.8 kB / 0.5634 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.3075, allocations: 7.938 kB / 0.5635 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.74e-05/0.3076, allocations: 51.92 kB / 0.5635 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.3077, allocations: 31.91 kB / 0.5635 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.3077, allocations: 39.67 kB / 0.5636 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.3079, allocations: 107.5 kB / 0.5637 GB, free: 1.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.3079, allocations: 7.922 kB / 0.5637 GB, free: 1.312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3079, allocations: 0 / 0.5637 GB, free: 1.312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.3079, allocations: 0 / 0.5637 GB, free: 1.312 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.0005159/0.3084, allocations: 349.5 kB / 0.564 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3085, allocations: 15.97 kB / 0.564 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.209e-05/0.3085, allocations: 42.73 kB / 0.5641 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.3086, allocations: 12.89 kB / 0.5641 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.3088, allocations: 147.1 kB / 0.5642 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.3088, allocations: 384 / 0.5642 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.3088, allocations: 4.375 kB / 0.5642 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.3089, allocations: 54.23 kB / 0.5643 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.309, allocations: 11.89 kB / 0.5643 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.309, allocations: 0 / 0.5643 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.309, allocations: 0 / 0.5643 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.3091, allocations: 39.91 kB / 0.5643 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.3095, allocations: 279.9 kB / 0.5646 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.3096, allocations: 42.56 kB / 0.5646 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.324e-05/0.3097, allocations: 20.94 kB / 0.5647 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.3097, allocations: 4 kB / 0.5647 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.3097, allocations: 38.5 kB / 0.5647 GB, free: 136 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3097, allocations: 0 / 0.5647 GB, free: 136 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000927/0.3107, allocations: 245.1 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.3107, allocations: 59.41 kB / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.311, allocations: 255 kB / 0.5652 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.311, allocations: 29.64 kB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.068e-05/0.3111, allocations: 108.1 kB / 0.5654 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.3111, allocations: 27.75 kB / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.3112, allocations: 25.7 kB / 0.5654 GB, free: 15.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3113, allocations: 330.8 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.598e-05/0.3114, allocations: 23.98 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.804e-05/0.3115, allocations: 35.97 kB / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.3117, allocations: 76.89 kB / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3117, allocations: 0 / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002318/0.3119, allocations: 117.5 kB / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3119, allocations: 4 kB / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3119, allocations: 0 / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3119, allocations: 0 / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.312, allocations: 28.41 kB / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.312, allocations: 0 / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.367e-05/0.3121, allocations: 4 kB / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.3121, allocations: 3.938 kB / 0.566 GB, free: 14.72 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 0.0001168/0.3122, allocations: 135.1 kB / 0.5661 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.3122, allocations: 15.84 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003094/0.3126, allocations: 139.3 kB / 0.5663 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3126, allocations: 3.984 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.3126, allocations: 0 / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3126, allocations: 0 / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005913/0.3132, allocations: 402.3 kB / 0.5667 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3132, allocations: 0 / 0.5667 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.481e-05/0.3132, allocations: 15.98 kB / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.3132, allocations: 4.031 kB / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.3133, allocations: 11.94 kB / 0.5667 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.3133, allocations: 7.938 kB / 0.5667 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3133, allocations: 0 / 0.5667 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.3136, allocations: 220.2 kB / 0.5669 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.3136, allocations: 7.953 kB / 0.5669 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.3136, allocations: 11.88 kB / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.3137, allocations: 7.984 kB / 0.5669 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.3137, allocations: 4 kB / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.3137, allocations: 4 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.3139, allocations: 187.2 kB / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3139, allocations: 0 / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.3141, allocations: 27.92 kB / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.002276/0.3164, allocations: 1.095 MB / 0.5682 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.3167, allocations: 79.88 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3167, allocations: 0 / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.5e-05/0.3168, allocations: 31.98 kB / 0.5683 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.3171, allocations: 23.67 kB / 0.5684 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.3193, allocations: 1.819 MB / 0.5701 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.3197, allocations: 0.7119 MB / 0.5708 GB, free: 9.711 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.763e-05/0.3197, allocations: 20.66 kB / 0.5708 GB, free: 9.691 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.216e-05/0.3198, allocations: 43.41 kB / 0.5709 GB, free: 9.648 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3198, allocations: 0 / 0.5709 GB, free: 9.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.3488, allocations: 3.499 MB / 0.5743 GB, free: 6.184 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.6, allocations: 7.875 kB / 0.5743 GB, free: 6.176 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.578058997867629]