Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001768/0.001768, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.00219/0.00219, allocations: 213.6 kB / 23.75 MB, free: 4.668 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.411/1.411, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2227/0.2227, allocations: 46.94 MB / 360.9 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 180] 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.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 64.09 kB / 0.4962 GB, free: 7.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3181, allocations: 66.02 MB / 0.5607 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003027/0.3211, allocations: 1.617 MB / 0.5622 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.3221, allocations: 0.5503 MB / 0.5628 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.022e-05/0.3222, allocations: 0 / 0.5628 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.3224, allocations: 19.86 kB / 0.5628 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.3226, allocations: 83.61 kB / 0.5629 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.3229, allocations: 95.2 kB / 0.563 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.323, allocations: 67.83 kB / 0.563 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.188e-05/0.3231, allocations: 13.75 kB / 0.563 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.587e-05/0.3232, allocations: 15.94 kB / 0.5631 GB, free: 2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.764e-05/0.3232, allocations: 31.78 kB / 0.5631 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.3233, allocations: 4 kB / 0.5631 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.523e-05/0.3233, allocations: 31.98 kB / 0.5631 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.3234, allocations: 11.94 kB / 0.5631 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.406e-05/0.3234, allocations: 27.8 kB / 0.5632 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.3236, allocations: 79.66 kB / 0.5632 GB, free: 1.816 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3236, allocations: 0 / 0.5632 GB, free: 1.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3236, allocations: 4 kB / 0.5632 GB, free: 1.812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.3236, allocations: 0 / 0.5632 GB, free: 1.812 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.0004912/0.3241, allocations: 313.8 kB / 0.5635 GB, free: 1.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.3241, allocations: 8.031 kB / 0.5635 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.204e-05/0.3242, allocations: 34.75 kB / 0.5636 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.703e-05/0.3242, allocations: 4.891 kB / 0.5636 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.3244, allocations: 138.4 kB / 0.5637 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.3244, allocations: 384 / 0.5637 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.3244, allocations: 4.375 kB / 0.5637 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.3245, allocations: 49.62 kB / 0.5638 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3246, allocations: 0 / 0.5638 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.3246, allocations: 3.938 kB / 0.5638 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.3246, allocations: 4 kB / 0.5638 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.347e-05/0.3247, allocations: 23.92 kB / 0.5638 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.325, allocations: 251.9 kB / 0.564 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.3252, allocations: 38.56 kB / 0.5641 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.3252, allocations: 20.94 kB / 0.5641 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.3253, allocations: 0 / 0.5641 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.3253, allocations: 42.48 kB / 0.5641 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.3253, allocations: 8 kB / 0.5641 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005301/0.3258, allocations: 133.4 kB / 0.5643 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.3259, allocations: 63.33 kB / 0.5643 GB, free: 0.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.326, allocations: 148.4 kB / 0.5645 GB, free: 396 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.3261, allocations: 25.7 kB / 0.5645 GB, free: 364 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.3261, allocations: 100.1 kB / 0.5646 GB, free: 260 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.3261, allocations: 23.86 kB / 0.5646 GB, free: 236 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.3262, allocations: 17.72 kB / 0.5646 GB, free: 212 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3263, allocations: 318.8 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.796e-05/0.3264, allocations: 19.98 kB / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.497e-05/0.3265, allocations: 19.98 kB / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.3266, allocations: 40.83 kB / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3266, allocations: 8 kB / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001795/0.3268, allocations: 77.62 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3268, allocations: 8 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3268, allocations: 3.938 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3268, allocations: 0 / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.222e-05/0.3269, allocations: 11.98 kB / 0.5651 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.3269, allocations: 0 / 0.5651 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.09e-05/0.3269, allocations: 7.984 kB / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.3269, allocations: 11.92 kB / 0.5651 GB, free: 15.67 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.368e-05/0.327, allocations: 121.8 kB / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.327, allocations: 7.953 kB / 0.5653 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.3273, allocations: 86.06 kB / 0.5653 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3273, allocations: 4 kB / 0.5653 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.3273, allocations: 3.938 kB / 0.5653 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3273, allocations: 3.984 kB / 0.5654 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.3278, allocations: 325.8 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3278, allocations: 0 / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.629e-05/0.3278, allocations: 11.98 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3278, allocations: 4 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.3278, allocations: 0 / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.3278, allocations: 3.938 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3278, allocations: 0 / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.328, allocations: 179.4 kB / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.3281, allocations: 11.94 kB / 0.5659 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.3281, allocations: 0 / 0.5659 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.731e-05/0.3282, allocations: 7.938 kB / 0.5659 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.3282, allocations: 3.984 kB / 0.5659 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.3282, allocations: 8 kB / 0.5659 GB, free: 14.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.116e-05/0.3283, allocations: 109.8 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3283, allocations: 0 / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002377/0.3285, allocations: 27.92 kB / 0.566 GB, free: 14.68 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.001912/0.3304, allocations: 1.012 MB / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.3306, allocations: 51.95 kB / 0.5671 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3306, allocations: 3.938 kB / 0.5671 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.308e-05/0.3307, allocations: 27.92 kB / 0.5671 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.331, allocations: 20.8 kB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.3328, allocations: 1.437 MB / 0.5685 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.3332, allocations: 0.7018 MB / 0.5692 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.824e-05/0.3332, allocations: 7.859 kB / 0.5692 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.3333, allocations: 23.42 kB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3333, allocations: 0 / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.3622, allocations: 2.683 MB / 0.5718 GB, free: 8.801 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.15, allocations: 12.19 kB / 0.5719 GB, free: 8.789 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.062433845130727]