Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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.0008471/0.0008471, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001081/0.001081, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8746/0.8746, allocations: 158.6 MB / 185 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1304/0.1304, allocations: 32.36 MB / 269.6 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 406.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.244e-05, allocations: 5.938 kB / 406.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.002203/0.002226, allocations: 1.549 MB / 408.4 MB, free: 11.96 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009951/0.003221, allocations: 1.037 MB / 409.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.416e-05/0.003275, allocations: 0 / 409.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.0035, allocations: 23.84 kB / 409.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.003718, allocations: 47.7 kB / 409.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.003939, allocations: 95.67 kB / 409.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.004071, allocations: 59.84 kB / 409.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.612e-05/0.004167, allocations: 8 kB / 409.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.49e-05/0.004222, allocations: 31.91 kB / 409.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.946e-05/0.004322, allocations: 19.91 kB / 409.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.004337, allocations: 0 / 409.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.502e-05/0.004432, allocations: 55.86 kB / 409.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.865e-05/0.004481, allocations: 15.91 kB / 409.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.004505, allocations: 4 kB / 409.8 MB, free: 10.56 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.004679, allocations: 95.7 kB / 409.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.004682, allocations: 0 / 409.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.004683, allocations: 0 / 409.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.004687, allocations: 7.938 kB / 409.9 MB, free: 10.46 MB / 346.7 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.0003912/0.005078, allocations: 305.9 kB / 410.2 MB, free: 10.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.005121, allocations: 12.03 kB / 410.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.872e-05/0.00515, allocations: 30.75 kB / 410.2 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.005183, allocations: 8.891 kB / 410.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.005319, allocations: 129.7 kB / 410.4 MB, free: 9.922 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.005329, allocations: 8.297 kB / 410.4 MB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.005348, allocations: 8.375 kB / 410.4 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.005479, allocations: 81.67 kB / 410.5 MB, free: 9.809 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.005488, allocations: 4.188 kB / 410.5 MB, free: 9.805 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.005497, allocations: 3.938 kB / 410.5 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.005501, allocations: 0 / 410.5 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.778e-05/0.005559, allocations: 27.97 kB / 410.5 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.00584, allocations: 240 kB / 410.7 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.006003, allocations: 46.5 kB / 410.8 MB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.006035, allocations: 20.94 kB / 410.8 MB, free: 9.418 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.006055, allocations: 0 / 410.8 MB, free: 9.418 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.006073, allocations: 30.56 kB / 410.8 MB, free: 9.379 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.006074, allocations: 4 kB / 410.8 MB, free: 9.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003933/0.006467, allocations: 153.4 kB / 411 MB, free: 9.219 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.006514, allocations: 77.11 kB / 411.1 MB, free: 9.125 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.006618, allocations: 137.8 kB / 411.2 MB, free: 8.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.00663, allocations: 25.7 kB / 411.2 MB, free: 8.949 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.311e-05/0.006673, allocations: 100 kB / 411.3 MB, free: 8.848 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.006693, allocations: 15.84 kB / 411.3 MB, free: 8.832 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.006722, allocations: 21.72 kB / 411.4 MB, free: 8.805 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.279e-05/0.006805, allocations: 322.8 kB / 411.7 MB, free: 8.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.511e-05/0.00685, allocations: 28.03 kB / 411.7 MB, free: 8.453 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.624e-05/0.006906, allocations: 63.34 kB / 411.8 MB, free: 8.379 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.218e-05/0.006979, allocations: 48.83 kB / 411.8 MB, free: 8.328 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.006979, allocations: 0 / 411.8 MB, free: 8.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001086/0.007088, allocations: 85.66 kB / 411.9 MB, free: 8.238 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.007101, allocations: 8.031 kB / 411.9 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.007105, allocations: 0 / 411.9 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.007118, allocations: 0 / 411.9 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.018e-05/0.007158, allocations: 15.98 kB / 411.9 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.007162, allocations: 0 / 411.9 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.476e-05/0.007187, allocations: 4 kB / 411.9 MB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-06/0.007191, allocations: 3.938 kB / 411.9 MB, free: 8.207 MB / 346.7 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 6.532e-05/0.007257, allocations: 117.8 kB / 412 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.007274, allocations: 7.953 kB / 412 MB, free: 8.074 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.007417, allocations: 97.77 kB / 412.1 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.00742, allocations: 7.938 kB / 412.1 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.007424, allocations: 0 / 412.1 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.007427, allocations: 0 / 412.1 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.007687, allocations: 329.7 kB / 412.5 MB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.007689, allocations: 0 / 412.5 MB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.659e-05/0.007715, allocations: 11.98 kB / 412.5 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.007717, allocations: 0 / 412.5 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.007723, allocations: 4 kB / 412.5 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007724, allocations: 4 kB / 412.5 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.007724, allocations: 0 / 412.5 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.007842, allocations: 183.4 kB / 412.7 MB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-06/0.007848, allocations: 3.953 kB / 412.7 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.007861, allocations: 4 kB / 412.7 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.669e-05/0.007897, allocations: 4 kB / 412.7 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.007927, allocations: 8.266 kB / 412.7 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.007931, allocations: 3.938 kB / 412.7 MB, free: 7.355 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.774e-05/0.007979, allocations: 111.2 kB / 412.8 MB, free: 7.246 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007979, allocations: 0 / 412.8 MB, free: 7.246 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001828/0.008161, allocations: 27.92 kB / 412.8 MB, free: 7.219 MB / 346.7 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.0009506/0.009112, allocations: 1.082 MB / 413.9 MB, free: 6.168 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.009251, allocations: 51.91 kB / 414 MB, free: 6.117 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009252, allocations: 0 / 414 MB, free: 6.117 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.725e-05/0.00929, allocations: 23.98 kB / 414 MB, free: 6.094 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.00954, allocations: 19.92 kB / 414 MB, free: 6.074 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.01055, allocations: 1.416 MB / 415.4 MB, free: 4.574 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.139e-05/0.0106, allocations: 71.33 kB / 415.5 MB, free: 4.484 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.017e-05/0.01066, allocations: 20.14 kB / 415.5 MB, free: 4.465 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.01071, allocations: 28.48 kB / 415.5 MB, free: 4.434 MB / 346.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01071, allocations: 0 / 415.5 MB, free: 4.434 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.02846, allocations: 3.531 MB / 419.1 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.475/6.503, allocations: 7.844 kB / 419.1 MB, free: 0.7617 MB / 346.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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: 8.424906929023564]