Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.001483/0.001483, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001615/0.001615, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.376/1.376, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.2202/0.2202, allocations: 46.95 MB / 360.8 MB, free: 4.047 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.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 75.88 kB / 0.4962 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3042, allocations: 66.09 MB / 0.5608 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.00313/0.3074, allocations: 1.728 MB / 0.5625 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.3091, allocations: 0.9633 MB / 0.5634 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.533e-05/0.3091, allocations: 11.88 kB / 0.5634 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.3094, allocations: 83.7 kB / 0.5635 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.3097, allocations: 111.6 kB / 0.5636 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.3099, allocations: 87.66 kB / 0.5637 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.3101, allocations: 127.6 kB / 0.5638 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.543e-05/0.3102, allocations: 9.812 kB / 0.5638 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.629e-05/0.3103, allocations: 55.77 kB / 0.5639 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.3104, allocations: 67.75 kB / 0.5639 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.3104, allocations: 8 kB / 0.5639 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.3105, allocations: 59.97 kB / 0.564 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.3106, allocations: 27.86 kB / 0.564 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/0.3106, allocations: 27.8 kB / 0.564 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.3109, allocations: 147.3 kB / 0.5642 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3109, allocations: 0 / 0.5642 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3109, allocations: 0 / 0.5642 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.3109, allocations: 0 / 0.5642 GB, free: 0.5195 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005405/0.3114, allocations: 369.4 kB / 0.5645 GB, free: 132 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.3114, allocations: 8.031 kB / 0.5645 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/0.3115, allocations: 46.73 kB / 0.5646 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.3115, allocations: 12.84 kB / 0.5646 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.3118, allocations: 154.3 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.3118, allocations: 4.375 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3118, allocations: 8.359 kB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.312, allocations: 61.73 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.312, allocations: 8 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.312, allocations: 7.922 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.312, allocations: 0 / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.641e-05/0.3121, allocations: 19.98 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.3125, allocations: 275.9 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.3127, allocations: 62.48 kB / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.055e-05/0.3128, allocations: 20.98 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.3128, allocations: 0 / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.3129, allocations: 75.44 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.3129, allocations: 0 / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007398/0.3137, allocations: 245.2 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.3137, allocations: 59.41 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.314, allocations: 235.4 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.314, allocations: 29.7 kB / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.589e-05/0.3141, allocations: 108.1 kB / 0.5659 GB, free: 14.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.3141, allocations: 31.73 kB / 0.5659 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.3141, allocations: 25.72 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3143, allocations: 326.8 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.622e-05/0.3144, allocations: 31.92 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-05/0.3145, allocations: 49.69 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.3146, allocations: 85.64 kB / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3146, allocations: 0 / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002349/0.3148, allocations: 129.5 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3149, allocations: 7.984 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3149, allocations: 0 / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3149, allocations: 4 kB / 0.5666 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.977e-05/0.315, allocations: 19.94 kB / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.315, allocations: 0 / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.331e-05/0.315, allocations: 15.92 kB / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.315, allocations: 4 kB / 0.5666 GB, free: 13.81 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0001192/0.3151, allocations: 133.9 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.3152, allocations: 11.91 kB / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003159/0.3155, allocations: 166.8 kB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3155, allocations: 0 / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3155, allocations: 4 kB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3155, allocations: 3.938 kB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005766/0.3161, allocations: 419.2 kB / 0.5673 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3161, allocations: 3.938 kB / 0.5673 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.3162, allocations: 20 kB / 0.5673 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.3162, allocations: 4 kB / 0.5673 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3162, allocations: 0 / 0.5673 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3162, allocations: 4 kB / 0.5673 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3162, allocations: 0 / 0.5673 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.3165, allocations: 249.3 kB / 0.5676 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.497e-05/0.3165, allocations: 15.84 kB / 0.5676 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.3166, allocations: 11.98 kB / 0.5676 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.3166, allocations: 0 / 0.5676 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.3167, allocations: 11.98 kB / 0.5676 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.3167, allocations: 12 kB / 0.5676 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.3169, allocations: 169.2 kB / 0.5678 GB, free: 12.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3169, allocations: 0 / 0.5678 GB, free: 12.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.3171, allocations: 27.94 kB / 0.5678 GB, free: 12.47 MB / 414.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002538/0.3197, allocations: 1.217 MB / 0.569 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002338/0.3199, allocations: 87.83 kB / 0.5691 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3199, allocations: 0 / 0.5691 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.052e-05/0.32, allocations: 43.98 kB / 0.5691 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.3203, allocations: 27.73 kB / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.3225, allocations: 1.834 MB / 0.571 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.3226, allocations: 101.8 kB / 0.5711 GB, free: 9.223 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.698e-05/0.3227, allocations: 32.52 kB / 0.5711 GB, free: 9.191 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.855e-05/0.3228, allocations: 39.42 kB / 0.5711 GB, free: 9.152 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3228, allocations: 0 / 0.5711 GB, free: 9.152 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03121/0.354, allocations: 4.568 MB / 0.5756 GB, free: 4.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.97, allocations: 10.55 kB / 0.5756 GB, free: 4.613 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.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: 13.756587589159608]