Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.0013/0.0013, allocations: 111.8 kB / 20.43 MB, free: 1.473 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.001588/0.001588, allocations: 210 kB / 23.74 MB, free: 4.691 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2308/0.2308, allocations: 44.91 MB / 358.8 MB, free: 6.293 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002467/0.002467, allocations: 63.91 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3301, allocations: 65.48 MB / 0.5571 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003649/0.3338, allocations: 1.634 MB / 0.5586 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.335, allocations: 0.5582 MB / 0.5592 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.575e-05/0.335, allocations: 0 / 0.5592 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.3354, allocations: 71.77 kB / 0.5593 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000353/0.3357, allocations: 103.6 kB / 0.5594 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003136/0.336, allocations: 95.69 kB / 0.5595 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.3362, allocations: 83.75 kB / 0.5595 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.3363, allocations: 17.81 kB / 0.5595 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.966e-05/0.3364, allocations: 35.91 kB / 0.5596 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.3366, allocations: 59.81 kB / 0.5596 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.3366, allocations: 7.938 kB / 0.5596 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.3367, allocations: 47.97 kB / 0.5597 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.811e-05/0.3368, allocations: 19.92 kB / 0.5597 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.054e-05/0.3368, allocations: 31.75 kB / 0.5597 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.337, allocations: 111.4 kB / 0.5598 GB, free: 4.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.337, allocations: 0 / 0.5598 GB, free: 4.898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.337, allocations: 3.938 kB / 0.5599 GB, free: 4.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.337, allocations: 0 / 0.5599 GB, free: 4.895 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000518/0.3376, allocations: 349.6 kB / 0.5602 GB, free: 4.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3376, allocations: 8.031 kB / 0.5602 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.3376, allocations: 34.75 kB / 0.5602 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.3377, allocations: 16.84 kB / 0.5602 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.3379, allocations: 143 kB / 0.5604 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3379, allocations: 384 / 0.5604 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.3379, allocations: 4.375 kB / 0.5604 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.3381, allocations: 61.55 kB / 0.5604 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3381, allocations: 0 / 0.5604 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.3381, allocations: 0 / 0.5604 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.3381, allocations: 4 kB / 0.5604 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.3382, allocations: 27.97 kB / 0.5605 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.3386, allocations: 263.9 kB / 0.5607 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.3387, allocations: 38.5 kB / 0.5608 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.3388, allocations: 16.95 kB / 0.5608 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.3388, allocations: 12.05 kB / 0.5608 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.3388, allocations: 34.56 kB / 0.5608 GB, free: 3.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.3388, allocations: 0 / 0.5608 GB, free: 3.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009497/0.3398, allocations: 233.5 kB / 0.561 GB, free: 3.531 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.3398, allocations: 51.41 kB / 0.5611 GB, free: 3.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.34, allocations: 210.2 kB / 0.5613 GB, free: 3.254 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.3401, allocations: 25.7 kB / 0.5613 GB, free: 3.223 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.155e-05/0.3401, allocations: 112.1 kB / 0.5614 GB, free: 3.109 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.3402, allocations: 31.73 kB / 0.5615 GB, free: 3.078 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.3402, allocations: 25.66 kB / 0.5615 GB, free: 3.047 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3404, allocations: 322.8 kB / 0.5618 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.177e-05/0.3405, allocations: 31.98 kB / 0.5618 GB, free: 2.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.615e-05/0.3405, allocations: 27.97 kB / 0.5618 GB, free: 2.664 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.3407, allocations: 60.83 kB / 0.5619 GB, free: 2.602 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3407, allocations: 0 / 0.5619 GB, free: 2.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002201/0.3409, allocations: 101.6 kB / 0.562 GB, free: 2.496 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3409, allocations: 10.44 kB / 0.562 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3409, allocations: 4 kB / 0.562 GB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3409, allocations: 0 / 0.562 GB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.3411, allocations: 23.92 kB / 0.562 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3411, allocations: 3.938 kB / 0.562 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.161e-05/0.3412, allocations: 7.984 kB / 0.562 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.3412, allocations: 0 / 0.562 GB, free: 2.449 MB / 398.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 (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 prepare postOptimizeDAE: time 0.0001198/0.3413, allocations: 125.8 kB / 0.5622 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.3413, allocations: 11.91 kB / 0.5622 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.3416, allocations: 119 kB / 0.5623 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.3416, allocations: 4 kB / 0.5623 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3416, allocations: 7.875 kB / 0.5623 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3416, allocations: 3.984 kB / 0.5623 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005291/0.3422, allocations: 374.8 kB / 0.5627 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3422, allocations: 0 / 0.5627 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.255e-05/0.3422, allocations: 23.95 kB / 0.5627 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3422, allocations: 4 kB / 0.5627 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.3423, allocations: 0 / 0.5627 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3423, allocations: 3.984 kB / 0.5627 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3423, allocations: 0 / 0.5627 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.3425, allocations: 208.3 kB / 0.5629 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.3425, allocations: 19.83 kB / 0.5629 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.3426, allocations: 4 kB / 0.5629 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.482e-05/0.3427, allocations: 4 kB / 0.5629 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.3427, allocations: 7.984 kB / 0.5629 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.3427, allocations: 4 kB / 0.5629 GB, free: 1.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.3428, allocations: 164.2 kB / 0.5631 GB, free: 1.285 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3428, allocations: 0 / 0.5631 GB, free: 1.285 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.3431, allocations: 23.92 kB / 0.5631 GB, free: 1.262 MB / 398.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 (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.002184/0.3453, allocations: 1.101 MB / 0.5642 GB, free: 328 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.3455, allocations: 59.97 kB / 0.5642 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3455, allocations: 0 / 0.5642 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.979e-05/0.3456, allocations: 35.91 kB / 0.5643 GB, free: 232 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.346, allocations: 16 kB / 0.5643 GB, free: 216 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.3481, allocations: 1.673 MB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.3484, allocations: 0.7119 MB / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.351e-05/0.3485, allocations: 16.97 kB / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.793e-05/0.3486, allocations: 31.42 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3486, allocations: 0 / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02795/0.3765, allocations: 3.291 MB / 0.5699 GB, free: 10.44 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.4, allocations: 6.594 kB / 0.5699 GB, free: 10.43 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.471091171959415]