Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.00127/0.00127, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001434/0.001434, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.398/1.398, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2162/0.2162, allocations: 46.93 MB / 361.6 MB, free: 4.23 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.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 83.86 kB / 0.497 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3178, allocations: 66.08 MB / 0.5616 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003413/0.3212, allocations: 1.771 MB / 0.5633 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.323, allocations: 1.045 MB / 0.5643 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.443e-05/0.3231, allocations: 4 kB / 0.5643 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.3234, allocations: 87.69 kB / 0.5644 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003372/0.3237, allocations: 119.5 kB / 0.5645 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.3239, allocations: 83.72 kB / 0.5646 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.3242, allocations: 131.6 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3243, allocations: 17.8 kB / 0.5648 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.3244, allocations: 55.77 kB / 0.5648 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.3246, allocations: 75.73 kB / 0.5649 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3246, allocations: 4 kB / 0.5649 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.3247, allocations: 59.92 kB / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.481e-05/0.3248, allocations: 27.91 kB / 0.565 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.597e-05/0.3248, allocations: 43.67 kB / 0.565 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.3251, allocations: 143.4 kB / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3251, allocations: 0 / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3251, allocations: 0 / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.3251, allocations: 0 / 0.5651 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006384/0.3258, allocations: 377.3 kB / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.3258, allocations: 12.03 kB / 0.5655 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.427e-05/0.3258, allocations: 4.125 kB / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.3259, allocations: 30.75 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.3259, allocations: 16.84 kB / 0.5656 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.3262, allocations: 174.9 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.3262, allocations: 4.375 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.3263, allocations: 4.375 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.3264, allocations: 61.61 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3264, allocations: 0 / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3265, allocations: 0 / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.3265, allocations: 4 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.378e-05/0.3266, allocations: 23.92 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.327, allocations: 279.9 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.3273, allocations: 54.55 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.303e-05/0.3274, allocations: 20.97 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.3274, allocations: 4 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.3276, allocations: 71.33 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.3276, allocations: 3.938 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000876/0.3285, allocations: 249.2 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/0.3285, allocations: 51.41 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.3288, allocations: 238.9 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.3288, allocations: 29.7 kB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.826e-05/0.3289, allocations: 116.2 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.594e-05/0.329, allocations: 39.72 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.329, allocations: 25.72 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3292, allocations: 326.8 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.052e-05/0.3293, allocations: 28 kB / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.076e-05/0.3294, allocations: 53.62 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.3295, allocations: 73.66 kB / 0.5674 GB, free: 14.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3295, allocations: 4 kB / 0.5674 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002447/0.3298, allocations: 129.5 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.3298, allocations: 4 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3298, allocations: 0 / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3298, allocations: 0 / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.071e-05/0.3299, allocations: 23.98 kB / 0.5676 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.3299, allocations: 4.641 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.062e-05/0.33, allocations: 8 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.33, allocations: 0 / 0.5676 GB, free: 13.93 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.0001365/0.3301, allocations: 145.7 kB / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.3301, allocations: 11.91 kB / 0.5677 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.3305, allocations: 151 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3305, allocations: 0 / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.3305, allocations: 3.938 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3305, allocations: 0 / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006201/0.3311, allocations: 423.2 kB / 0.5683 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3311, allocations: 3.938 kB / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.3312, allocations: 12 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3312, allocations: 4 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.3312, allocations: 3.984 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3312, allocations: 7.938 kB / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3312, allocations: 0 / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.3315, allocations: 237.5 kB / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.3315, allocations: 23.77 kB / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.3315, allocations: 7.984 kB / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.3316, allocations: 4 kB / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.3317, allocations: 15.92 kB / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.3317, allocations: 8 kB / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002186/0.3319, allocations: 175.2 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3319, allocations: 4 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000288/0.3322, allocations: 27.94 kB / 0.5688 GB, free: 12.58 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 (11): * Single equations (assignments): 9 * 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.002402/0.3346, allocations: 1.167 MB / 0.5699 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.3348, allocations: 75.84 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3348, allocations: 0 / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.999e-05/0.3349, allocations: 39.86 kB / 0.57 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.3353, allocations: 35.72 kB / 0.5701 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.3377, allocations: 1.845 MB / 0.5719 GB, free: 9.484 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.3381, allocations: 0.7119 MB / 0.5726 GB, free: 8.746 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.283e-05/0.3382, allocations: 24.62 kB / 0.5726 GB, free: 8.723 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.144e-05/0.3383, allocations: 47.42 kB / 0.5726 GB, free: 8.676 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3383, allocations: 0 / 0.5726 GB, free: 8.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.362, allocations: 4.166 MB / 0.5767 GB, free: 4.566 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.99, allocations: 6.812 kB / 0.5767 GB, free: 4.562 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.908560713054612]