Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.00165/0.00165, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.002211/0.002211, allocations: 208.7 kB / 23.72 MB, free: 4.539 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.546/1.546, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2381/0.2381, allocations: 46.95 MB / 360.9 MB, free: 4.059 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.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 63.89 kB / 0.4961 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3707, allocations: 66.03 MB / 0.5606 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.004803/0.3755, allocations: 1.601 MB / 0.5622 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.3776, allocations: 0.5387 MB / 0.5627 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.301e-05/0.3777, allocations: 0 / 0.5627 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.3779, allocations: 27.84 kB / 0.5627 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000436/0.3784, allocations: 79.64 kB / 0.5628 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004969/0.3789, allocations: 96.19 kB / 0.5629 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.3791, allocations: 75.77 kB / 0.563 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3792, allocations: 9.812 kB / 0.563 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.804e-05/0.3793, allocations: 27.92 kB / 0.563 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.3794, allocations: 39.83 kB / 0.563 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.3794, allocations: 4 kB / 0.563 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002812/0.3797, allocations: 91.89 kB / 0.5631 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.934e-05/0.3798, allocations: 23.91 kB / 0.5631 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/0.3798, allocations: 19.88 kB / 0.5632 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.3802, allocations: 151.5 kB / 0.5633 GB, free: 1.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3802, allocations: 0 / 0.5633 GB, free: 1.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3802, allocations: 4 kB / 0.5633 GB, free: 1.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3802, allocations: 0 / 0.5633 GB, free: 1.477 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007588/0.381, allocations: 345.5 kB / 0.5636 GB, free: 1.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.381, allocations: 8.031 kB / 0.5637 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.273e-05/0.3811, allocations: 30.75 kB / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.049e-05/0.3812, allocations: 8.891 kB / 0.5637 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.3815, allocations: 138.4 kB / 0.5638 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.3815, allocations: 4.375 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.3815, allocations: 4.375 kB / 0.5638 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.3818, allocations: 97.03 kB / 0.5639 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.3818, allocations: 0 / 0.5639 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.3818, allocations: 3.938 kB / 0.5639 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3818, allocations: 0 / 0.5639 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.382, allocations: 31.97 kB / 0.564 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006329/0.3826, allocations: 263.9 kB / 0.5642 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.3829, allocations: 66.48 kB / 0.5643 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.383, allocations: 24.97 kB / 0.5643 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.383, allocations: 4 kB / 0.5643 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.383, allocations: 30.56 kB / 0.5643 GB, free: 300 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/0.383, allocations: 0 / 0.5643 GB, free: 300 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001049/0.3841, allocations: 189.3 kB / 0.5645 GB, free: 104 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.571e-05/0.3842, allocations: 81.11 kB / 0.5646 GB, free: 4 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.3845, allocations: 160.4 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.3845, allocations: 25.7 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.3846, allocations: 100.1 kB / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.3846, allocations: 23.8 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.141e-05/0.3847, allocations: 25.7 kB / 0.5649 GB, free: 15.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.385, allocations: 322.8 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.3851, allocations: 31.97 kB / 0.5652 GB, free: 15.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.3853, allocations: 71.39 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/0.3857, allocations: 80.73 kB / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3857, allocations: 0 / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004505/0.3861, allocations: 113.5 kB / 0.5655 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.3861, allocations: 11.98 kB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3861, allocations: 0 / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3862, allocations: 0 / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.3863, allocations: 19.98 kB / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.3864, allocations: 0 / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.467e-05/0.3864, allocations: 8 kB / 0.5655 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.3865, allocations: 7.938 kB / 0.5655 GB, free: 14.96 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 (9): * Single equations (assignments): 9 * 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.0001568/0.3866, allocations: 122.1 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.484e-05/0.3867, allocations: 7.953 kB / 0.5657 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004869/0.3872, allocations: 118.3 kB / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3872, allocations: 3.938 kB / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3872, allocations: 0 / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3872, allocations: 0 / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000899/0.3881, allocations: 369.4 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3881, allocations: 4 kB / 0.5661 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.3882, allocations: 12 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.3882, allocations: 3.984 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.3882, allocations: 3.938 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/0.3882, allocations: 4 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3882, allocations: 384 / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004655/0.3887, allocations: 207.6 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.3887, allocations: 11.95 kB / 0.5664 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.3888, allocations: 7.938 kB / 0.5664 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.3889, allocations: 11.98 kB / 0.5664 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.389, allocations: 0 / 0.5664 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.389, allocations: 7.984 kB / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001758/0.3892, allocations: 119.3 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3892, allocations: 0 / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005399/0.3897, allocations: 39.86 kB / 0.5666 GB, free: 13.84 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 (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.003723/0.3934, allocations: 1.171 MB / 0.5677 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004334/0.3939, allocations: 67.95 kB / 0.5678 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3939, allocations: 0 / 0.5678 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.394, allocations: 43.89 kB / 0.5678 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005838/0.3946, allocations: 22.7 kB / 0.5678 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.3978, allocations: 1.561 MB / 0.5693 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.398, allocations: 90.88 kB / 0.5694 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.3981, allocations: 24.41 kB / 0.5695 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.3982, allocations: 31.42 kB / 0.5695 GB, free: 10.95 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3982, allocations: 0 / 0.5695 GB, free: 10.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0419/0.4401, allocations: 4.195 MB / 0.5736 GB, free: 6.766 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.3, allocations: 11.3 kB / 0.5736 GB, free: 6.758 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 14.355406404996756]