Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001833/0.001833, 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.002329/0.002329, allocations: 210.9 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2458/0.2458, allocations: 46.96 MB / 360.9 MB, free: 4.051 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.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 71.88 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3248, allocations: 66.04 MB / 0.5606 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003146/0.328, allocations: 1.644 MB / 0.5622 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.3291, allocations: 0.5388 MB / 0.5627 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.635e-05/0.3292, allocations: 0 / 0.5627 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003561/0.3296, allocations: 103.7 kB / 0.5628 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003732/0.33, allocations: 111.6 kB / 0.563 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.3303, allocations: 119.2 kB / 0.5631 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.3305, allocations: 99.75 kB / 0.5632 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.3307, allocations: 25.8 kB / 0.5632 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.379e-05/0.3307, allocations: 39.84 kB / 0.5632 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.3309, allocations: 67.8 kB / 0.5633 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.3309, allocations: 11.94 kB / 0.5633 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.331, allocations: 55.91 kB / 0.5634 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.307e-05/0.3311, allocations: 27.92 kB / 0.5634 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.3312, allocations: 31.73 kB / 0.5634 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.3314, allocations: 127.4 kB / 0.5635 GB, free: 1.273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3314, allocations: 0 / 0.5635 GB, free: 1.273 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3314, allocations: 4 kB / 0.5635 GB, free: 1.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3314, allocations: 0 / 0.5635 GB, free: 1.27 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007047/0.3321, allocations: 373.3 kB / 0.5639 GB, free: 0.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/0.3322, allocations: 8.031 kB / 0.5639 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.782e-05/0.3322, allocations: 42.75 kB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.3323, allocations: 12.84 kB / 0.564 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.3326, allocations: 150.3 kB / 0.5641 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.3326, allocations: 8.375 kB / 0.5641 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.3326, allocations: 8.375 kB / 0.5641 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.3329, allocations: 73.59 kB / 0.5642 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.3329, allocations: 3.953 kB / 0.5642 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.3329, allocations: 11.94 kB / 0.5642 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.3329, allocations: 0 / 0.5642 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.333, allocations: 43.95 kB / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.3336, allocations: 307.8 kB / 0.5645 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.3337, allocations: 66.48 kB / 0.5646 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.887e-05/0.3338, allocations: 20.84 kB / 0.5646 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.3338, allocations: 4 kB / 0.5646 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/0.3339, allocations: 30.56 kB / 0.5646 GB, free: 16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3339, allocations: 0 / 0.5646 GB, free: 16 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001124/0.335, allocations: 345.7 kB / 0.565 GB, free: 15.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.335, allocations: 55.34 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.3353, allocations: 239.5 kB / 0.5653 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.3353, allocations: 29.7 kB / 0.5653 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.749e-05/0.3354, allocations: 120 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.749e-05/0.3355, allocations: 43.58 kB / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.393e-05/0.3355, allocations: 29.7 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.3357, allocations: 334.8 kB / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.3358, allocations: 43.97 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.681e-05/0.3359, allocations: 43.97 kB / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.3361, allocations: 112.3 kB / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3361, allocations: 0 / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003069/0.3365, allocations: 153.5 kB / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3365, allocations: 11.94 kB / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3365, allocations: 7.938 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3365, allocations: 0 / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.3366, allocations: 23.98 kB / 0.5662 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3366, allocations: 0 / 0.5662 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.718e-05/0.3367, allocations: 4 kB / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.3367, allocations: 11.98 kB / 0.5662 GB, free: 14.35 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 (13): * Single equations (assignments): 13 * 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.0001253/0.3368, allocations: 134.4 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.3369, allocations: 11.91 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004022/0.3373, allocations: 198.9 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3373, allocations: 0 / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3373, allocations: 0 / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/0.3373, allocations: 4 kB / 0.5665 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000717/0.338, allocations: 462.2 kB / 0.567 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.338, allocations: 0 / 0.567 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.3381, allocations: 31.92 kB / 0.567 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.3381, allocations: 4.031 kB / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.3381, allocations: 4 kB / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3381, allocations: 0 / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3381, allocations: 0 / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.3385, allocations: 260.2 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.3385, allocations: 11.91 kB / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.3385, allocations: 4 kB / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.228e-05/0.3386, allocations: 8 kB / 0.5673 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.3387, allocations: 7.984 kB / 0.5673 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.3387, allocations: 15.92 kB / 0.5673 GB, free: 13.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.3389, allocations: 181.1 kB / 0.5675 GB, free: 12.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3389, allocations: 0 / 0.5675 GB, free: 12.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.3391, allocations: 31.92 kB / 0.5675 GB, free: 12.92 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.002468/0.3416, allocations: 1.176 MB / 0.5686 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003/0.3419, allocations: 107.9 kB / 0.5687 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3419, allocations: 0 / 0.5687 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.342, allocations: 63.89 kB / 0.5688 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.3424, allocations: 29.5 kB / 0.5688 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.3447, allocations: 1.92 MB / 0.5707 GB, free: 9.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.3448, allocations: 113.5 kB / 0.5708 GB, free: 9.602 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.263e-05/0.3449, allocations: 28.48 kB / 0.5708 GB, free: 9.574 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.97e-05/0.345, allocations: 47.42 kB / 0.5709 GB, free: 9.531 MB / 414.1 MB Notification: Performance of SimCode: time 4.8e-07/0.345, allocations: 0 / 0.5709 GB, free: 9.531 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.3746, allocations: 4.22 MB / 0.575 GB, free: 5.355 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.25, allocations: 10.33 kB / 0.575 GB, free: 5.348 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.230085093004163]