Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 209.6 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3127/0.3127, allocations: 46.95 MB / 360.9 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.89 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3058, allocations: 66.03 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003186/0.309, allocations: 1.593 MB / 0.5622 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.311, allocations: 1.236 MB / 0.5634 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.19e-05/0.311, allocations: 0 / 0.5634 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.3113, allocations: 19.84 kB / 0.5634 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003152/0.3116, allocations: 87.61 kB / 0.5635 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.3118, allocations: 95.45 kB / 0.5636 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.312, allocations: 75.77 kB / 0.5636 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3121, allocations: 13.81 kB / 0.5636 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.14e-05/0.3121, allocations: 19.92 kB / 0.5637 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.3123, allocations: 35.84 kB / 0.5637 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.3123, allocations: 4 kB / 0.5637 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.3124, allocations: 87.89 kB / 0.5638 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.508e-05/0.3125, allocations: 19.91 kB / 0.5638 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.3125, allocations: 23.88 kB / 0.5638 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.3128, allocations: 131.5 kB / 0.564 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3128, allocations: 4 kB / 0.564 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3128, allocations: 4 kB / 0.564 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3128, allocations: 3.938 kB / 0.564 GB, free: 0.7812 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.0005058/0.3133, allocations: 329.7 kB / 0.5643 GB, free: 440 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3133, allocations: 8.031 kB / 0.5643 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.701e-05/0.3134, allocations: 34.75 kB / 0.5643 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.3134, allocations: 8.891 kB / 0.5643 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.3136, allocations: 137.3 kB / 0.5645 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.3136, allocations: 4.375 kB / 0.5645 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3137, allocations: 4.375 kB / 0.5645 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.3138, allocations: 85.05 kB / 0.5645 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.3139, allocations: 7.984 kB / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.3139, allocations: 7.984 kB / 0.5646 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3139, allocations: 0 / 0.5646 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.381e-05/0.314, allocations: 27.92 kB / 0.5646 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.3143, allocations: 236 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.3145, allocations: 42.56 kB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.148e-05/0.3146, allocations: 12.94 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.3146, allocations: 11.88 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.3146, allocations: 34.56 kB / 0.5649 GB, free: 15.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3146, allocations: 4 kB / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005969/0.3152, allocations: 141.4 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.28e-05/0.3153, allocations: 77.11 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.3155, allocations: 148.6 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.3155, allocations: 25.7 kB / 0.5653 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.895e-05/0.3156, allocations: 100.1 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.3156, allocations: 23.84 kB / 0.5654 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.3157, allocations: 17.72 kB / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3158, allocations: 326.8 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.352e-05/0.3159, allocations: 15.98 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-05/0.316, allocations: 59.41 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.3161, allocations: 49.02 kB / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3161, allocations: 0 / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001913/0.3163, allocations: 81.59 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.3163, allocations: 12 kB / 0.5659 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3163, allocations: 0 / 0.5659 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3164, allocations: 0 / 0.5659 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.94e-05/0.3164, allocations: 11.98 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.3164, allocations: 0 / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.722e-05/0.3165, allocations: 11.92 kB / 0.566 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.3165, allocations: 4 kB / 0.566 GB, free: 14.5 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 8.917e-05/0.3166, allocations: 113.8 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.3166, allocations: 11.95 kB / 0.5661 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.3169, allocations: 90 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3169, allocations: 4 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3169, allocations: 0 / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3169, allocations: 3.938 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.3174, allocations: 309.7 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3174, allocations: 0 / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.388e-05/0.3174, allocations: 11.98 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3174, allocations: 7.938 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.3174, allocations: 7.938 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3174, allocations: 192 / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3174, allocations: 3.938 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.3177, allocations: 179.5 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.3177, allocations: 7.953 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.3177, allocations: 3.938 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.159e-05/0.3178, allocations: 8 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.3178, allocations: 7.984 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.3179, allocations: 0 / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.318, allocations: 119.2 kB / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.318, allocations: 0 / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002995/0.3183, allocations: 35.88 kB / 0.5669 GB, free: 13.5 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.002371/0.3206, allocations: 1.136 MB / 0.568 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.3209, allocations: 47.91 kB / 0.568 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3209, allocations: 0 / 0.568 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.302e-05/0.3209, allocations: 31.92 kB / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.3213, allocations: 19.5 kB / 0.5681 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.3232, allocations: 1.418 MB / 0.5694 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.887e-05/0.3232, allocations: 75.03 kB / 0.5695 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.987e-05/0.3233, allocations: 32.22 kB / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.532e-05/0.3234, allocations: 31.42 kB / 0.5696 GB, free: 10.82 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3234, allocations: 0 / 0.5696 GB, free: 10.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03292/0.3563, allocations: 3.855 MB / 0.5733 GB, free: 7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.55, allocations: 3.938 kB / 0.5733 GB, free: 6.996 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.552350187004777]