Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001264/0.001264, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001455/0.001455, allocations: 215.1 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.632/1.632, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2476/0.2476, allocations: 46.94 MB / 360.8 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002831/0.002831, allocations: 87.84 kB / 0.4962 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3857, allocations: 66.08 MB / 0.5608 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.005065/0.3907, allocations: 1.617 MB / 0.5623 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.392, allocations: 0.5849 MB / 0.5629 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.937e-05/0.3921, allocations: 0 / 0.5629 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.3923, allocations: 27.8 kB / 0.5629 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003368/0.3927, allocations: 71.67 kB / 0.563 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.393, allocations: 119 kB / 0.5631 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.3932, allocations: 71.77 kB / 0.5632 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.871e-05/0.3933, allocations: 13.81 kB / 0.5632 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.095e-05/0.3934, allocations: 27.92 kB / 0.5632 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.3936, allocations: 31.84 kB / 0.5632 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.3936, allocations: 7.984 kB / 0.5633 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002434/0.3938, allocations: 99.89 kB / 0.5633 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.3939, allocations: 23.91 kB / 0.5634 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.651e-05/0.394, allocations: 23.81 kB / 0.5634 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.3943, allocations: 147.5 kB / 0.5635 GB, free: 1.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.3943, allocations: 0 / 0.5635 GB, free: 1.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.3943, allocations: 0 / 0.5635 GB, free: 1.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3943, allocations: 0 / 0.5635 GB, free: 1.406 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005767/0.3949, allocations: 333.6 kB / 0.5639 GB, free: 1.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.3949, allocations: 16.03 kB / 0.5639 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.444e-05/0.395, allocations: 34.75 kB / 0.5639 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.395, allocations: 8.891 kB / 0.5639 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.3953, allocations: 136.8 kB / 0.564 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.3953, allocations: 12.31 kB / 0.5641 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.3953, allocations: 384 / 0.5641 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.3955, allocations: 59.97 kB / 0.5641 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.3955, allocations: 7.938 kB / 0.5641 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.3955, allocations: 4 kB / 0.5641 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3955, allocations: 0 / 0.5641 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.408e-05/0.3956, allocations: 27.91 kB / 0.5641 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.3961, allocations: 267.9 kB / 0.5644 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.3962, allocations: 50.5 kB / 0.5645 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.62e-05/0.3963, allocations: 28.94 kB / 0.5645 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.3963, allocations: 0 / 0.5645 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.3963, allocations: 30.56 kB / 0.5645 GB, free: 276 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.3963, allocations: 0 / 0.5645 GB, free: 276 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006663/0.397, allocations: 181.3 kB / 0.5647 GB, free: 88 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.3971, allocations: 85.11 kB / 0.5648 GB, free: 15.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.3973, allocations: 157.5 kB / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3973, allocations: 25.7 kB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.3973, allocations: 92.14 kB / 0.565 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.3974, allocations: 27.78 kB / 0.5651 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.3974, allocations: 25.66 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3976, allocations: 326.8 kB / 0.5654 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.151e-05/0.3977, allocations: 31.98 kB / 0.5654 GB, free: 15.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-05/0.3978, allocations: 45.67 kB / 0.5655 GB, free: 15.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.398, allocations: 77.03 kB / 0.5655 GB, free: 15.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.398, allocations: 0 / 0.5655 GB, free: 15.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002406/0.3982, allocations: 105.6 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3982, allocations: 4 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3982, allocations: 4.031 kB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3982, allocations: 0 / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.3984, allocations: 23.92 kB / 0.5657 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3984, allocations: 0 / 0.5657 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.519e-05/0.3984, allocations: 7.984 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.3984, allocations: 0 / 0.5657 GB, free: 15 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 (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.0001124/0.3985, allocations: 117.8 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/0.3986, allocations: 11.95 kB / 0.5658 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002889/0.3989, allocations: 118.3 kB / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3989, allocations: 0 / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3989, allocations: 0 / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.3989, allocations: 3.984 kB / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005606/0.3994, allocations: 365.5 kB / 0.5663 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3994, allocations: 3.938 kB / 0.5663 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.88e-05/0.3995, allocations: 19.98 kB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.3995, allocations: 4 kB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.3995, allocations: 0 / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3995, allocations: 3.938 kB / 0.5663 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3995, allocations: 0 / 0.5663 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.3998, allocations: 199.7 kB / 0.5665 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.3999, allocations: 7.938 kB / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.3999, allocations: 11.94 kB / 0.5665 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.131e-05/0.4, allocations: 11.92 kB / 0.5665 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.4, allocations: 7.984 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.4, allocations: 7.938 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.4001, allocations: 117.5 kB / 0.5666 GB, free: 13.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4001, allocations: 0 / 0.5666 GB, free: 13.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003054/0.4004, allocations: 39.86 kB / 0.5667 GB, free: 13.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.002396/0.4028, allocations: 1.117 MB / 0.5678 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.4031, allocations: 71.88 kB / 0.5678 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4031, allocations: 0 / 0.5678 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.167e-05/0.4032, allocations: 27.98 kB / 0.5679 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.4035, allocations: 35.8 kB / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.4054, allocations: 1.527 MB / 0.5694 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.4058, allocations: 0.6963 MB / 0.5701 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.044e-05/0.4058, allocations: 20.66 kB / 0.5701 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.081e-05/0.4059, allocations: 31.42 kB / 0.5701 GB, free: 10.39 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4059, allocations: 0 / 0.5701 GB, free: 10.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.4367, allocations: 3.678 MB / 0.5737 GB, free: 6.711 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.6, allocations: 0 / 0.5737 GB, free: 6.711 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.823483607033268]