Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001249/0.001249, 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.001382/0.001382, allocations: 220.2 kB / 24.53 MB, free: 4.008 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.403/1.403, allocations: 230.5 MB / 258.2 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.2242/0.2242, allocations: 46.93 MB / 361.6 MB, free: 4.184 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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 75.88 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3019, allocations: 66.08 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003076/0.305, allocations: 1.635 MB / 0.5631 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.306, allocations: 0.5615 MB / 0.5637 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.334e-05/0.306, allocations: 8 kB / 0.5637 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.3063, allocations: 87.73 kB / 0.5638 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.3066, allocations: 111.6 kB / 0.5639 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.3069, allocations: 126.9 kB / 0.564 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.3071, allocations: 83.75 kB / 0.5641 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.299e-05/0.3072, allocations: 13.83 kB / 0.5641 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.121e-05/0.3072, allocations: 39.89 kB / 0.5641 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.3073, allocations: 63.8 kB / 0.5642 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.3073, allocations: 0 / 0.5642 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.539e-05/0.3074, allocations: 47.98 kB / 0.5642 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.3075, allocations: 23.86 kB / 0.5642 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.3075, allocations: 31.69 kB / 0.5643 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.3077, allocations: 119.4 kB / 0.5644 GB, free: 1.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3077, allocations: 4 kB / 0.5644 GB, free: 1.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3077, allocations: 4 kB / 0.5644 GB, free: 1.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3077, allocations: 0 / 0.5644 GB, free: 1.336 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.0005112/0.3082, allocations: 345.6 kB / 0.5647 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3083, allocations: 12.03 kB / 0.5647 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.363e-05/0.3083, allocations: 192 / 0.5647 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.227e-05/0.3083, allocations: 34.75 kB / 0.5648 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.3084, allocations: 16.84 kB / 0.5648 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.3086, allocations: 138.3 kB / 0.5649 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.3086, allocations: 12.34 kB / 0.5649 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.3086, allocations: 8.328 kB / 0.5649 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.3088, allocations: 57.98 kB / 0.565 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.3088, allocations: 4 kB / 0.565 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.3088, allocations: 0 / 0.565 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3088, allocations: 0 / 0.565 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.3089, allocations: 31.97 kB / 0.565 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.3093, allocations: 283.7 kB / 0.5653 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.3094, allocations: 46.56 kB / 0.5653 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.502e-05/0.3095, allocations: 20.94 kB / 0.5654 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.3095, allocations: 0 / 0.5654 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.3095, allocations: 30.56 kB / 0.5654 GB, free: 184 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.3095, allocations: 4 kB / 0.5654 GB, free: 180 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009344/0.3105, allocations: 241.2 kB / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.3105, allocations: 55.34 kB / 0.5657 GB, free: 15.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.3108, allocations: 230.8 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.3108, allocations: 25.7 kB / 0.5659 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.271e-05/0.3109, allocations: 116.1 kB / 0.566 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/0.3109, allocations: 31.86 kB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.311, allocations: 17.72 kB / 0.5661 GB, free: 15.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3111, allocations: 330.8 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.464e-05/0.3112, allocations: 27.97 kB / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.759e-05/0.3113, allocations: 27.98 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.3115, allocations: 85.03 kB / 0.5665 GB, free: 14.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3115, allocations: 0 / 0.5665 GB, free: 14.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000233/0.3117, allocations: 117.5 kB / 0.5666 GB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.3117, allocations: 4 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3117, allocations: 0 / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3117, allocations: 0 / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3118, allocations: 19.98 kB / 0.5667 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.3118, allocations: 0 / 0.5667 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.3119, allocations: 19.88 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.3119, allocations: 7.922 kB / 0.5667 GB, free: 14.78 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.0001126/0.312, allocations: 131.2 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.312, allocations: 7.953 kB / 0.5668 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003172/0.3124, allocations: 138.9 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3124, allocations: 0 / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3124, allocations: 0 / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.3124, allocations: 8.297 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005571/0.3129, allocations: 398.4 kB / 0.5673 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3129, allocations: 0 / 0.5673 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.029e-05/0.313, allocations: 15.98 kB / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.313, allocations: 7.938 kB / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.313, allocations: 0 / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.313, allocations: 0 / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.313, allocations: 0 / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.3133, allocations: 228.2 kB / 0.5676 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.647e-05/0.3133, allocations: 7.953 kB / 0.5676 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.3133, allocations: 7.938 kB / 0.5676 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.513e-05/0.3134, allocations: 7.984 kB / 0.5676 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.3134, allocations: 4 kB / 0.5676 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.3134, allocations: 4 kB / 0.5676 GB, free: 13.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001664/0.3136, allocations: 184.3 kB / 0.5678 GB, free: 13.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3136, allocations: 0 / 0.5678 GB, free: 13.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.3139, allocations: 23.95 kB / 0.5678 GB, free: 13.54 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.002175/0.316, allocations: 1.096 MB / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002416/0.3163, allocations: 71.95 kB / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3163, allocations: 0 / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.907e-05/0.3164, allocations: 39.91 kB / 0.569 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.3168, allocations: 27.67 kB / 0.569 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.3188, allocations: 1.747 MB / 0.5707 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.3192, allocations: 0.7157 MB / 0.5714 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.06e-05/0.3192, allocations: 24.95 kB / 0.5714 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.768e-05/0.3193, allocations: 39.42 kB / 0.5715 GB, free: 9.801 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3193, allocations: 0 / 0.5715 GB, free: 9.801 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.3419, allocations: 3.437 MB / 0.5748 GB, free: 6.406 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.9, allocations: 16.77 kB / 0.5749 GB, free: 6.398 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.819525339989923]