Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001605/0.001605, allocations: 116 kB / 20.43 MB, free: 1.449 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.001417/0.001417, allocations: 214.8 kB / 23.74 MB, free: 4.66 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: 8.027 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.2321/0.2321, allocations: 44.91 MB / 358.8 MB, free: 6.277 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.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",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.001999/0.001999, allocations: 67.91 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3584, allocations: 65.48 MB / 0.5571 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003739/0.3622, allocations: 1.698 MB / 0.5587 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3633, allocations: 0.5932 MB / 0.5593 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.799e-05/0.3634, allocations: 0 / 0.5593 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.3636, allocations: 55.73 kB / 0.5593 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.3639, allocations: 91.59 kB / 0.5594 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.3643, allocations: 183.3 kB / 0.5596 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.3645, allocations: 91.75 kB / 0.5597 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.3646, allocations: 18.05 kB / 0.5597 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.777e-05/0.3647, allocations: 35.86 kB / 0.5597 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.3648, allocations: 47.75 kB / 0.5598 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.3648, allocations: 7.938 kB / 0.5598 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.3649, allocations: 51.92 kB / 0.5598 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.789e-05/0.365, allocations: 27.91 kB / 0.5599 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.169e-05/0.3651, allocations: 35.73 kB / 0.5599 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.3653, allocations: 119.5 kB / 0.56 GB, free: 4.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3653, allocations: 0 / 0.56 GB, free: 4.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3653, allocations: 4 kB / 0.56 GB, free: 4.703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.3653, allocations: 0 / 0.56 GB, free: 4.703 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005489/0.3658, allocations: 345.6 kB / 0.5604 GB, free: 4.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3659, allocations: 12.03 kB / 0.5604 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.731e-05/0.3659, allocations: 42.67 kB / 0.5604 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.366, allocations: 12.84 kB / 0.5604 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.3662, allocations: 142.3 kB / 0.5606 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.3662, allocations: 4.375 kB / 0.5606 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.3662, allocations: 8.375 kB / 0.5606 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.3664, allocations: 69.55 kB / 0.5606 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.3665, allocations: 4 kB / 0.5606 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.3665, allocations: 0 / 0.5606 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.3665, allocations: 4 kB / 0.5606 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.3666, allocations: 43.95 kB / 0.5607 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000569/0.3672, allocations: 295.9 kB / 0.561 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.3675, allocations: 58.48 kB / 0.561 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.785e-05/0.3676, allocations: 24.97 kB / 0.561 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.3676, allocations: 4 kB / 0.561 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.3676, allocations: 34.55 kB / 0.5611 GB, free: 3.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3676, allocations: 4 kB / 0.5611 GB, free: 3.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001558/0.3692, allocations: 420.9 kB / 0.5615 GB, free: 3.066 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.3692, allocations: 51.41 kB / 0.5615 GB, free: 3.004 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.3695, allocations: 186.2 kB / 0.5617 GB, free: 2.809 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.3695, allocations: 25.7 kB / 0.5617 GB, free: 2.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.373e-05/0.3696, allocations: 108.1 kB / 0.5618 GB, free: 2.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/0.3696, allocations: 47.56 kB / 0.5619 GB, free: 2.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.3697, allocations: 29.66 kB / 0.5619 GB, free: 2.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3698, allocations: 322.8 kB / 0.5622 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.3699, allocations: 55.95 kB / 0.5623 GB, free: 2.207 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.3701, allocations: 51.95 kB / 0.5623 GB, free: 2.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.3703, allocations: 132.7 kB / 0.5625 GB, free: 2.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3703, allocations: 0 / 0.5625 GB, free: 2.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003445/0.3707, allocations: 169.8 kB / 0.5626 GB, free: 1.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3707, allocations: 4 kB / 0.5626 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3707, allocations: 0 / 0.5626 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3707, allocations: 7.938 kB / 0.5626 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.3708, allocations: 23.98 kB / 0.5626 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3708, allocations: 0 / 0.5626 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.027e-05/0.3709, allocations: 16.55 kB / 0.5627 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.3709, allocations: 4 kB / 0.5627 GB, free: 1.797 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 (11): * Single equations (assignments): 11 * 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.0001177/0.371, allocations: 125.8 kB / 0.5628 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.3711, allocations: 15.91 kB / 0.5628 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004325/0.3715, allocations: 194.3 kB / 0.563 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.3715, allocations: 7.922 kB / 0.563 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3715, allocations: 3.984 kB / 0.563 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3715, allocations: 0 / 0.563 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007256/0.3723, allocations: 483 kB / 0.5635 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.3723, allocations: 4 kB / 0.5635 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.3724, allocations: 27.97 kB / 0.5635 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3724, allocations: 0 / 0.5635 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.3724, allocations: 8 kB / 0.5635 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3724, allocations: 0 / 0.5635 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3724, allocations: 0 / 0.5635 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004089/0.3728, allocations: 273.1 kB / 0.5638 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.187e-05/0.3728, allocations: 11.91 kB / 0.5638 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.3728, allocations: 8 kB / 0.5638 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.711e-05/0.3729, allocations: 7.984 kB / 0.5638 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.373, allocations: 11.98 kB / 0.5638 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.373, allocations: 8 kB / 0.5638 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.3731, allocations: 144 kB / 0.5639 GB, free: 404 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3731, allocations: 3.938 kB / 0.5639 GB, free: 400 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.3734, allocations: 27.94 kB / 0.564 GB, free: 372 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002488/0.3759, allocations: 1.165 MB / 0.5651 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003649/0.3762, allocations: 123.9 kB / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3762, allocations: 0 / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.3764, allocations: 64.02 kB / 0.5653 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.3768, allocations: 27.61 kB / 0.5653 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/0.3793, allocations: 1.903 MB / 0.5672 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.3797, allocations: 0.7157 MB / 0.5679 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9e-05/0.3798, allocations: 32.47 kB / 0.5679 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.392e-05/0.3799, allocations: 43.41 kB / 0.5679 GB, free: 12.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3799, allocations: 0 / 0.5679 GB, free: 12.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/0.4103, allocations: 3.656 MB / 0.5715 GB, free: 8.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.42, allocations: 0 / 0.5715 GB, free: 8.738 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.477836214005947]