Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.0009579/0.0009579, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.001064/0.001064, 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.8873/0.8873, allocations: 158.6 MB / 185 MB, free: 3.039 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.1358/0.1358, allocations: 32.37 MB / 269.6 MB, free: 14.96 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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 3.938 kB / 406.8 MB, free: 2.219 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.225e-05, allocations: 5.938 kB / 406.9 MB, free: 2.215 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002311/0.002333, allocations: 1.561 MB / 408.4 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005351/0.002868, allocations: 335.4 kB / 408.7 MB, free: 320 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.564e-05/0.002924, allocations: 4 kB / 408.7 MB, free: 316 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.003162, allocations: 19.84 kB / 408.8 MB, free: 296 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.003349, allocations: 47.66 kB / 408.8 MB, free: 248 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.003564, allocations: 83.7 kB / 408.9 MB, free: 164 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.003708, allocations: 59.84 kB / 409 MB, free: 104 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.003811, allocations: 4.188 kB / 409 MB, free: 100 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.949e-05/0.003871, allocations: 39.83 kB / 409 MB, free: 60 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.613e-05/0.003937, allocations: 19.92 kB / 409 MB, free: 40 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.00396, allocations: 8 kB / 409 MB, free: 32 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.004085, allocations: 59.91 kB / 409.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.004129, allocations: 11.94 kB / 409.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.004158, allocations: 19.84 kB / 409.1 MB, free: 15.94 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.004337, allocations: 95.69 kB / 409.2 MB, free: 15.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.004341, allocations: 0 / 409.2 MB, free: 15.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.004342, allocations: 0 / 409.2 MB, free: 15.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.004346, allocations: 0 / 409.2 MB, free: 15.85 MB / 394.7 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.0003841/0.00473, allocations: 317.9 kB / 409.5 MB, free: 15.51 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.00477, allocations: 11.97 kB / 409.5 MB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.751e-05/0.004797, allocations: 30.75 kB / 409.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.004831, allocations: 16.88 kB / 409.6 MB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.004983, allocations: 129.7 kB / 409.7 MB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.004993, allocations: 4.375 kB / 409.7 MB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.00501, allocations: 4.328 kB / 409.7 MB, free: 15.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.005161, allocations: 97.66 kB / 409.8 MB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.005172, allocations: 3.938 kB / 409.8 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.005181, allocations: 3.938 kB / 409.8 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.005186, allocations: 4 kB / 409.8 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.755e-05/0.005253, allocations: 39.91 kB / 409.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002981/0.005551, allocations: 263.9 kB / 410.1 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.005655, allocations: 54.55 kB / 410.2 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.005689, allocations: 20.98 kB / 410.2 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.005712, allocations: 0 / 410.2 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.005735, allocations: 38.48 kB / 410.2 MB, free: 14.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.005736, allocations: 4 kB / 410.2 MB, free: 14.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004572/0.006194, allocations: 169.7 kB / 410.4 MB, free: 14.51 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.006233, allocations: 85.05 kB / 410.5 MB, free: 14.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.761e-05/0.006331, allocations: 137.8 kB / 410.6 MB, free: 14.26 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.006342, allocations: 25.7 kB / 410.6 MB, free: 14.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.006386, allocations: 96.12 kB / 410.7 MB, free: 14.13 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.006407, allocations: 27.75 kB / 410.8 MB, free: 14.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.00644, allocations: 21.7 kB / 410.8 MB, free: 14.08 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.027e-05/0.006521, allocations: 322.8 kB / 411.1 MB, free: 13.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.311e-05/0.006564, allocations: 23.97 kB / 411.1 MB, free: 13.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.072e-05/0.006625, allocations: 63.48 kB / 411.2 MB, free: 13.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.424e-05/0.006709, allocations: 69.03 kB / 411.2 MB, free: 13.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.00671, allocations: 0 / 411.2 MB, free: 13.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000122/0.006832, allocations: 97.55 kB / 411.3 MB, free: 13.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.006845, allocations: 4 kB / 411.3 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.00685, allocations: 0 / 411.3 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.006861, allocations: 0 / 411.3 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.806e-05/0.006929, allocations: 15.98 kB / 411.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.006935, allocations: 11.97 kB / 411.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.006955, allocations: 0 / 411.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.006968, allocations: 4 kB / 411.4 MB, free: 13.45 MB / 394.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 (7): * Single equations (assignments): 7 * 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 5.876e-05/0.007027, allocations: 121.8 kB / 411.5 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.007045, allocations: 7.953 kB / 411.5 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/0.007205, allocations: 110 kB / 411.6 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.007208, allocations: 4 kB / 411.6 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.007212, allocations: 0 / 411.6 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.007214, allocations: 0 / 411.6 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.007493, allocations: 341.5 kB / 411.9 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.007494, allocations: 0 / 411.9 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.007529, allocations: 15.98 kB / 412 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.00753, allocations: 0 / 412 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.007537, allocations: 0 / 412 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.007539, allocations: 3.938 kB / 412 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.00754, allocations: 0 / 412 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.007672, allocations: 195.4 kB / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-06/0.007679, allocations: 7.953 kB / 412.2 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.00769, allocations: 4.188 kB / 412.2 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.68e-05/0.007727, allocations: 11.98 kB / 412.2 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.007798, allocations: 7.938 kB / 412.2 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.007807, allocations: 4 kB / 412.2 MB, free: 12.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.785e-05/0.007874, allocations: 111 kB / 412.3 MB, free: 12.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007874, allocations: 0 / 412.3 MB, free: 12.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001821/0.008057, allocations: 23.94 kB / 412.3 MB, free: 12.42 MB / 394.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 (7): * Single equations (assignments): 7 * 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.0009901/0.009047, allocations: 1.099 MB / 413.4 MB, free: 11.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.009197, allocations: 55.97 kB / 413.5 MB, free: 11.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.009199, allocations: 0 / 413.5 MB, free: 11.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.196e-05/0.009241, allocations: 39.91 kB / 413.5 MB, free: 11.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.009494, allocations: 19.38 kB / 413.5 MB, free: 11.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.0106, allocations: 1.457 MB / 415 MB, free: 9.676 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.949e-05/0.01066, allocations: 75.33 kB / 415.1 MB, free: 9.582 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.873e-05/0.01073, allocations: 16.45 kB / 415.1 MB, free: 9.566 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.482e-05/0.01079, allocations: 32.48 kB / 415.1 MB, free: 9.535 MB / 394.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01079, allocations: 0 / 415.1 MB, free: 9.535 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.02678, allocations: 3.69 MB / 418.8 MB, free: 5.699 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.57/6.597, allocations: 7.844 kB / 418.8 MB, free: 5.691 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.617848716676235]