Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.001286/0.001286, 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.00153/0.00153, allocations: 206.4 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.406/1.406, allocations: 230.5 MB / 257.4 MB, free: 7.727 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.22/0.22, allocations: 46.96 MB / 360.8 MB, free: 3.891 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.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 87.73 kB / 0.4962 GB, free: 7.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3021, allocations: 66.09 MB / 0.5608 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003045/0.3052, allocations: 1.659 MB / 0.5624 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.3068, allocations: 0.9476 MB / 0.5633 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.757e-05/0.3069, allocations: 7.938 kB / 0.5633 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.3072, allocations: 87.73 kB / 0.5634 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.3075, allocations: 115.5 kB / 0.5635 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.3078, allocations: 75.73 kB / 0.5636 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.308, allocations: 111.6 kB / 0.5637 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.182e-05/0.308, allocations: 4.234 kB / 0.5637 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.3081, allocations: 55.75 kB / 0.5637 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.3082, allocations: 51.83 kB / 0.5638 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.3083, allocations: 8 kB / 0.5638 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.535e-05/0.3084, allocations: 39.98 kB / 0.5638 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.41e-05/0.3084, allocations: 27.84 kB / 0.5639 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.084e-05/0.3085, allocations: 23.81 kB / 0.5639 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.3087, allocations: 117.3 kB / 0.564 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3087, allocations: 0 / 0.564 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3087, allocations: 0 / 0.564 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3087, allocations: 3.938 kB / 0.564 GB, free: 0.6367 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006263/0.3094, allocations: 345.6 kB / 0.5643 GB, free: 276 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.3094, allocations: 8.031 kB / 0.5643 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.639e-05/0.3095, allocations: 34.75 kB / 0.5644 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.3095, allocations: 16.84 kB / 0.5644 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.3098, allocations: 158.2 kB / 0.5645 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.3098, allocations: 384 / 0.5645 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.3098, allocations: 8.375 kB / 0.5645 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.31, allocations: 49.86 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.31, allocations: 0 / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.31, allocations: 0 / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.3101, allocations: 4 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.123e-05/0.3101, allocations: 15.92 kB / 0.5646 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.3104, allocations: 160.7 kB / 0.5648 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.3105, allocations: 54.56 kB / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.069e-05/0.3106, allocations: 20.84 kB / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.3106, allocations: 0 / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.3108, allocations: 71.33 kB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 3.587e-06/0.3108, allocations: 3.984 kB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003222/0.3111, allocations: 105.5 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.3112, allocations: 55.41 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.3114, allocations: 223.5 kB / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.3114, allocations: 33.7 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.78e-05/0.3115, allocations: 104.1 kB / 0.5654 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.83e-05/0.3116, allocations: 15.89 kB / 0.5654 GB, free: 15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.3116, allocations: 17.72 kB / 0.5654 GB, free: 14.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.3118, allocations: 322.8 kB / 0.5657 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-05/0.3118, allocations: 15.98 kB / 0.5658 GB, free: 14.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.995e-05/0.3119, allocations: 33.7 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.312, allocations: 49.64 kB / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.312, allocations: 0 / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001775/0.3122, allocations: 89.53 kB / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3122, allocations: 4 kB / 0.5659 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3122, allocations: 0 / 0.5659 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3122, allocations: 0 / 0.5659 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.385e-05/0.3123, allocations: 19.92 kB / 0.5659 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.3123, allocations: 0 / 0.5659 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/0.3124, allocations: 8 kB / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.3124, allocations: 0 / 0.566 GB, free: 14.41 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 (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 prepare postOptimizeDAE: time 0.0001312/0.3125, allocations: 125.8 kB / 0.5661 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.3125, allocations: 19.88 kB / 0.5661 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.3127, allocations: 99.06 kB / 0.5662 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.3127, allocations: 7.938 kB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3127, allocations: 4 kB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3127, allocations: 4 kB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.3129, allocations: 156.7 kB / 0.5664 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3129, allocations: 3.938 kB / 0.5664 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.951e-05/0.3129, allocations: 7.984 kB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3129, allocations: 0 / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.3129, allocations: 3.938 kB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3129, allocations: 4.156 kB / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3129, allocations: 4 kB / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.3131, allocations: 113 kB / 0.5665 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.021e-05/0.3132, allocations: 23.84 kB / 0.5665 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.3132, allocations: 0 / 0.5665 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.87e-05/0.3132, allocations: 7.984 kB / 0.5665 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.3133, allocations: 0 / 0.5665 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.3133, allocations: 4 kB / 0.5665 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.3134, allocations: 173.1 kB / 0.5667 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3134, allocations: 0 / 0.5667 GB, free: 13.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002112/0.3137, allocations: 23.94 kB / 0.5667 GB, free: 13.56 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: 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 (6): * Single equations (assignments): 4 * 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.002095/0.3157, allocations: 0.9756 MB / 0.5677 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001811/0.3159, allocations: 43.91 kB / 0.5677 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3159, allocations: 0 / 0.5677 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.641e-05/0.316, allocations: 19.98 kB / 0.5677 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.3163, allocations: 27.73 kB / 0.5677 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.3182, allocations: 1.584 MB / 0.5693 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.674e-05/0.3183, allocations: 92.97 kB / 0.5694 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.674e-05/0.3183, allocations: 12.48 kB / 0.5694 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.071e-05/0.3184, allocations: 39.41 kB / 0.5694 GB, free: 10.79 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3184, allocations: 0 / 0.5694 GB, free: 10.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.3467, allocations: 3.959 MB / 0.5733 GB, free: 6.863 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.26, allocations: 8.047 kB / 0.5733 GB, free: 6.855 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --stepSize=0.00019972 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.087197923101485]