Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001262/0.001262, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001682/0.001682, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.477/1.477, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.2358/0.2358, allocations: 44.91 MB / 359.6 MB, free: 6.262 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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="cs",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.002019/0.002019, allocations: 68.19 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3442, allocations: 65.47 MB / 0.5578 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003672/0.3479, allocations: 1.672 MB / 0.5594 GB, free: 6.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.3491, allocations: 0.5738 MB / 0.56 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.641e-05/0.3492, allocations: 0 / 0.56 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003324/0.3495, allocations: 99.67 kB / 0.5601 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003762/0.3499, allocations: 115.6 kB / 0.5602 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003802/0.3503, allocations: 119.1 kB / 0.5603 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.3505, allocations: 103.7 kB / 0.5604 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3506, allocations: 21.81 kB / 0.5604 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.3508, allocations: 43.83 kB / 0.5605 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.3509, allocations: 71.73 kB / 0.5606 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.3509, allocations: 7.938 kB / 0.5606 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.351, allocations: 47.98 kB / 0.5606 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.287e-05/0.3511, allocations: 27.86 kB / 0.5606 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.76e-05/0.3511, allocations: 47.66 kB / 0.5607 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.3514, allocations: 135.4 kB / 0.5608 GB, free: 4.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3514, allocations: 0 / 0.5608 GB, free: 4.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3514, allocations: 7.875 kB / 0.5608 GB, free: 4.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.3514, allocations: 0 / 0.5608 GB, free: 4.664 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.0006016/0.352, allocations: 361.5 kB / 0.5612 GB, free: 4.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.352, allocations: 8.031 kB / 0.5612 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.573e-05/0.3521, allocations: 12.19 kB / 0.5612 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.3521, allocations: 34.75 kB / 0.5612 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.3522, allocations: 20.84 kB / 0.5612 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.3524, allocations: 150.8 kB / 0.5614 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.3524, allocations: 4.375 kB / 0.5614 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.3525, allocations: 8.125 kB / 0.5614 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.3527, allocations: 77.59 kB / 0.5615 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.3527, allocations: 3.953 kB / 0.5615 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3527, allocations: 4 kB / 0.5615 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.3527, allocations: 4 kB / 0.5615 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.3529, allocations: 43.95 kB / 0.5615 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006042/0.3535, allocations: 311.8 kB / 0.5618 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.3536, allocations: 58.56 kB / 0.5619 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.394e-05/0.3537, allocations: 24.84 kB / 0.5619 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.3537, allocations: 0 / 0.5619 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.576e-05/0.3538, allocations: 42.55 kB / 0.5619 GB, free: 3.387 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.3538, allocations: 0 / 0.5619 GB, free: 3.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001287/0.3551, allocations: 345.1 kB / 0.5623 GB, free: 3.043 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.3551, allocations: 55.41 kB / 0.5623 GB, free: 2.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.3555, allocations: 239.5 kB / 0.5625 GB, free: 2.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.3555, allocations: 29.7 kB / 0.5626 GB, free: 2.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.536e-05/0.3556, allocations: 112.1 kB / 0.5627 GB, free: 2.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.571e-05/0.3557, allocations: 43.58 kB / 0.5627 GB, free: 2.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.3557, allocations: 33.7 kB / 0.5627 GB, free: 2.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.3559, allocations: 326.8 kB / 0.5631 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.356, allocations: 43.97 kB / 0.5631 GB, free: 2.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.3561, allocations: 47.97 kB / 0.5631 GB, free: 2.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.3564, allocations: 108.3 kB / 0.5633 GB, free: 1.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3564, allocations: 0 / 0.5633 GB, free: 1.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000316/0.3567, allocations: 157.5 kB / 0.5634 GB, free: 1.809 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.3567, allocations: 7.938 kB / 0.5634 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3567, allocations: 4.703 kB / 0.5634 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.3568, allocations: 3.938 kB / 0.5634 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3569, allocations: 31.97 kB / 0.5634 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3569, allocations: 0 / 0.5634 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.357, allocations: 8 kB / 0.5635 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.357, allocations: 8 kB / 0.5635 GB, free: 1.746 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.0001634/0.3571, allocations: 145.7 kB / 0.5636 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.3572, allocations: 15.84 kB / 0.5636 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004336/0.3576, allocations: 195 kB / 0.5638 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3576, allocations: 0 / 0.5638 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3576, allocations: 0 / 0.5638 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3576, allocations: 0 / 0.5638 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000739/0.3584, allocations: 478.1 kB / 0.5643 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.3584, allocations: 3.938 kB / 0.5643 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.612e-05/0.3585, allocations: 27.98 kB / 0.5643 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3585, allocations: 4.031 kB / 0.5643 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.3585, allocations: 4 kB / 0.5643 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3585, allocations: 0 / 0.5643 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3585, allocations: 0 / 0.5643 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.3589, allocations: 260.1 kB / 0.5645 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.3589, allocations: 15.89 kB / 0.5646 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.3589, allocations: 4 kB / 0.5646 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.93e-05/0.359, allocations: 8 kB / 0.5646 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.359, allocations: 7.984 kB / 0.5646 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.359, allocations: 4 kB / 0.5646 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001896/0.3592, allocations: 189.1 kB / 0.5648 GB, free: 332 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3592, allocations: 0 / 0.5648 GB, free: 332 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000275/0.3595, allocations: 27.88 kB / 0.5648 GB, free: 304 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.002618/0.3621, allocations: 1.154 MB / 0.5659 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003579/0.3625, allocations: 103.9 kB / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3625, allocations: 0 / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.3626, allocations: 59.89 kB / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.363, allocations: 21.44 kB / 0.5661 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.3656, allocations: 1.928 MB / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.366, allocations: 0.7236 MB / 0.5687 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.478e-05/0.3661, allocations: 32.47 kB / 0.5687 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.672e-05/0.3662, allocations: 43.42 kB / 0.5688 GB, free: 12.29 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3662, allocations: 0 / 0.5688 GB, free: 12.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.3901, allocations: 3.84 MB / 0.5725 GB, free: 8.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.75, allocations: 0 / 0.5725 GB, free: 8.52 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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: 15.003081698960159]