Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001361/0.001361, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002277/0.002277, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2248/0.2248, allocations: 44.94 MB / 358.8 MB, free: 6.074 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.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",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.002142/0.002142, allocations: 63.91 kB / 0.493 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3222, allocations: 65.48 MB / 0.557 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003215/0.3255, allocations: 1.637 MB / 0.5586 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3266, allocations: 0.5427 MB / 0.5591 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.446e-05/0.3266, allocations: 4 kB / 0.5591 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.3269, allocations: 87.69 kB / 0.5592 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004182/0.3273, allocations: 123.5 kB / 0.5593 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.3276, allocations: 119.4 kB / 0.5594 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.3278, allocations: 99.75 kB / 0.5595 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3279, allocations: 25.8 kB / 0.5596 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.349e-05/0.328, allocations: 39.84 kB / 0.5596 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.3281, allocations: 71.73 kB / 0.5597 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.3281, allocations: 8 kB / 0.5597 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.089e-05/0.3282, allocations: 43.98 kB / 0.5597 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.139e-05/0.3283, allocations: 35.84 kB / 0.5597 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.805e-05/0.3283, allocations: 35.73 kB / 0.5598 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.3285, allocations: 131.4 kB / 0.5599 GB, free: 4.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3285, allocations: 0 / 0.5599 GB, free: 4.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3285, allocations: 0 / 0.5599 GB, free: 4.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.3285, allocations: 0 / 0.5599 GB, free: 4.547 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.0005046/0.329, allocations: 361.4 kB / 0.5602 GB, free: 4.164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3291, allocations: 8.031 kB / 0.5603 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.82e-05/0.3291, allocations: 42.69 kB / 0.5603 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.3292, allocations: 20.84 kB / 0.5603 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.3294, allocations: 154.3 kB / 0.5605 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3294, allocations: 4.375 kB / 0.5605 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.3294, allocations: 8.375 kB / 0.5605 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.3296, allocations: 81.53 kB / 0.5606 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.3296, allocations: 3.953 kB / 0.5606 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.3296, allocations: 0 / 0.5606 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.3296, allocations: 0 / 0.5606 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.3297, allocations: 43.95 kB / 0.5606 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006355/0.3304, allocations: 307.8 kB / 0.5609 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.3306, allocations: 70.48 kB / 0.561 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.427e-05/0.3307, allocations: 24.84 kB / 0.561 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.3307, allocations: 0 / 0.561 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.3308, allocations: 34.56 kB / 0.561 GB, free: 3.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.512e-06/0.3308, allocations: 0 / 0.561 GB, free: 3.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.00153/0.3323, allocations: 349.6 kB / 0.5614 GB, free: 2.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.3323, allocations: 55.41 kB / 0.5614 GB, free: 2.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/0.3327, allocations: 235.5 kB / 0.5616 GB, free: 2.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.3328, allocations: 29.7 kB / 0.5617 GB, free: 2.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.3329, allocations: 112.1 kB / 0.5618 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.313e-05/0.3329, allocations: 43.58 kB / 0.5618 GB, free: 2.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.343e-05/0.333, allocations: 33.7 kB / 0.5618 GB, free: 2.379 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.3332, allocations: 326.8 kB / 0.5621 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.3334, allocations: 47.97 kB / 0.5622 GB, free: 2.004 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.3336, allocations: 43.97 kB / 0.5622 GB, free: 1.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.3339, allocations: 112.6 kB / 0.5623 GB, free: 1.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3339, allocations: 3.938 kB / 0.5623 GB, free: 1.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004458/0.3343, allocations: 161.5 kB / 0.5625 GB, free: 1.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.3344, allocations: 10.19 kB / 0.5625 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3344, allocations: 3.938 kB / 0.5625 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3344, allocations: 4 kB / 0.5625 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.3346, allocations: 23.98 kB / 0.5625 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.3346, allocations: 4 kB / 0.5625 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.767e-05/0.3347, allocations: 4 kB / 0.5626 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.3347, allocations: 7.984 kB / 0.5626 GB, free: 1.629 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 (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.0001692/0.3349, allocations: 134.4 kB / 0.5627 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-05/0.3349, allocations: 15.91 kB / 0.5627 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005913/0.3355, allocations: 190.9 kB / 0.5629 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.3355, allocations: 4 kB / 0.5629 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3355, allocations: 0 / 0.5629 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3355, allocations: 0 / 0.5629 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.3366, allocations: 458.2 kB / 0.5633 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.3366, allocations: 4 kB / 0.5633 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.3367, allocations: 31.92 kB / 0.5634 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/0.3368, allocations: 7.938 kB / 0.5634 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.3368, allocations: 32 / 0.5634 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3368, allocations: 4 kB / 0.5634 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3368, allocations: 4 kB / 0.5634 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004984/0.3373, allocations: 256.2 kB / 0.5636 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.3373, allocations: 15.89 kB / 0.5636 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.3373, allocations: 4 kB / 0.5636 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.3375, allocations: 4 kB / 0.5636 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.3375, allocations: 11.92 kB / 0.5637 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.3375, allocations: 8 kB / 0.5637 GB, free: 420 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002596/0.3378, allocations: 185.1 kB / 0.5638 GB, free: 236 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3378, allocations: 0 / 0.5638 GB, free: 236 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004803/0.3383, allocations: 31.92 kB / 0.5639 GB, free: 204 kB / 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 (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.00355/0.3418, allocations: 1.18 MB / 0.565 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004578/0.3423, allocations: 99.94 kB / 0.5651 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3423, allocations: 4 kB / 0.5651 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.3425, allocations: 59.89 kB / 0.5652 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006165/0.3431, allocations: 27.52 kB / 0.5652 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003798/0.3469, allocations: 1.92 MB / 0.5671 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.3471, allocations: 116.8 kB / 0.5672 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001433/0.3472, allocations: 32.47 kB / 0.5672 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.3474, allocations: 43.42 kB / 0.5673 GB, free: 12.81 MB / 414.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3474, allocations: 0 / 0.5673 GB, free: 12.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03328/0.3806, allocations: 4.163 MB / 0.5713 GB, free: 8.695 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.57, allocations: 8 kB / 0.5713 GB, free: 8.688 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.703829624690115]